IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 22, 2004, 11:10:52 AM (22 years ago)
Author:
evanalst
Message:

Update psMemCheckLeaks function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/tst_psMetadata_02.c

    r2273 r2392  
    1414*  @author  Ross Harman, MHPCC
    1515*
    16 *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
    17 *  @date  $Date: 2004-11-04 01:05:00 $
     16*  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
     17*  @date  $Date: 2004-11-22 20:54:50 $
    1818*
    1919*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    134134    psFree(badItem);
    135135    psFree(metadata);
    136     psMemCheckLeaks(0, NULL, stdout);
     136    if(psMemCheckLeaks(0, NULL, stdout,false) ) {
     137        psError(PS_ERR_UNKNOWN,true,"Memory leaks detected.");
     138        return 10;
     139    }
    137140    psMemCheckCorruption(0);
    138141    psS32 nBad = psMemCheckCorruption(0);
Note: See TracChangeset for help on using the changeset viewer.