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

    r831 r1073  
    1212 *  @author  Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
    15  *  @date  $Date: 2004-06-02 23:29:29 $
     14 *  @version $Revision: 1.4 $  $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
     
    102102    // Test E - Free void pointer vector
    103103    printPositiveTestHeader(stdout, "psVector", "Free void pointer vector");
    104     psVectorElementFree(psVec, NULL);
    105     psVectorFree(psVec);
     104    psVectorElementFree(psVec);
     105    psFree(psVec);
    106106    for(int i = 0; i < 10; i++) {
    107107        psFree(mySt[i]);
Note: See TracChangeset for help on using the changeset viewer.