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_psTime_03.c

    r2328 r2392  
    1212 *  @author  Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2004-11-10 23:08:10 $
     14 *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2004-11-22 20:52:45 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    133133    psFree(time5b);
    134134    psFree(timeOut5);
    135     psMemCheckLeaks(0, NULL, stdout);
     135    if ( psMemCheckLeaks(0, NULL, stdout,false) ) {
     136        psError(PS_ERR_UNKNOWN,true,"Memory leaks detected.");
     137        return 10;
     138    }
    136139    psMemCheckCorruption(0);
    137140    psS32 nBad = psMemCheckCorruption(0);
Note: See TracChangeset for help on using the changeset viewer.