IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2004, 1:00:17 PM (22 years ago)
Author:
desonia
Message:

Changed the means of deallocation of memory. ps_Alloc now registers an optional free function to handle any additional processing of a memory object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/tst_psBitSet_06.c

    r965 r1073  
    1212 *  @author  Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2004-06-10 00:28:43 $
     14 *  @version $Revision: 1.7 $  $Name: not supported by cvs2svn $
     15 *  @date  $Date: 2004-06-23 23:00:15 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5555    printFooter(stdout, "psBitSet", "Create negative size bitset", true);
    5656
    57 
    58     // Test D - Attempt to free null BitSet
    59     printNegativeTestHeader(stdout,"psBitSet", "Attempt to free null BitSet",
    60                             "Null psBitSet for inBitSet argument", 0);
    61     psBitSetFree(NULL);
    62     printFooter(stdout, "psBitSet", "Attempt to free null BitSet", true);
    63 
    64 
    6557    // Test E - Free psBitSets
    6658    printPositiveTestHeader(stdout, "psBitSet", "Free psBitSets");
    67     psBitSetFree(bs1);
    68     psBitSetFree(bs2);
    69     psBitSetFree(outbs);
     59    psFree(bs1);
     60    psFree(bs2);
     61    psFree(outbs);
    7062    psMemCheckLeaks(0, NULL, stdout);
    7163    int nBad = psMemCheckCorruption(0);
Note: See TracChangeset for help on using the changeset viewer.