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/math/psMinimizeLMM.c

    r7766 r7914  
    1010 *  @author EAM, IfA
    1111 *
    12  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-06-30 02:20:06 $
     12 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-07-15 02:57:12 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    539539bool psMemCheckMinimization(psPtr ptr)
    540540{
     541    if (!is_psType(ptr)) {
     542        return false;
     543    }
    541544    return( psMemGetDeallocator(ptr) == (psFreeFunc)minimizationFree );
    542545}
Note: See TracChangeset for help on using the changeset viewer.