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/collections/tst_psMetadata_01.c

    r2273 r2392  
    1717*  @author  Ross Harman, MHPCC
    1818*
    19 *  @version $Revision: 1.14 $  $Name: not supported by cvs2svn $
    20 *  @date  $Date: 2004-11-04 01:05:00 $
     19*  @version $Revision: 1.15 $  $Name: not supported by cvs2svn $
     20*  @date  $Date: 2004-11-22 20:54:50 $
    2121*
    2222*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    260260    psFree(metadata2);
    261261    psFree(metadata3);
    262     psMemCheckLeaks(0, NULL, stdout);
     262    if(psMemCheckLeaks(0, NULL, stdout,false)) {
     263        psError(PS_ERR_UNKNOWN,true,"Memory leaks detected.");
     264        return 10;
     265    }
    263266    psMemCheckCorruption(0);
    264267    psS32 nBad = psMemCheckCorruption(0);
Note: See TracChangeset for help on using the changeset viewer.