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/imageops/psImageConvolve.c

    r7091 r7914  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2006-05-09 03:27:25 $
     7 *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2006-07-15 02:57:12 $
    99 *
    1010 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    9090bool psMemCheckKernel(psPtr ptr)
    9191{
     92    if (!is_psType(ptr)) {
     93        return false;
     94    }
    9295    return ( psMemGetDeallocator(ptr) == (psFreeFunc)freeKernel );
    9396}
Note: See TracChangeset for help on using the changeset viewer.