IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 14, 2006, 4:57:12 PM (20 years ago)
Author:
drobbin
Message:

Added error handling to memory checking functions. Will hopefully avoid segfaults and abort calls now when passed in native types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFits.c

    r7846 r7914  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-07-08 03:06:40 $
     9 *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-07-15 02:57:12 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    174174bool psMemCheckFits(psPtr ptr)
    175175{
     176    if (!is_psType(ptr)) {
     177        return false;
     178    }
    176179    return ( psMemGetDeallocator(ptr) == (psFreeFunc)fitsFree );
    177180}
Note: See TracChangeset for help on using the changeset viewer.