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/dataManip/tst_psStats05.c

    r893 r1073  
    5959                            "psStats functions",
    6060                            "Deallocate the psStats structure.");
    61     psStatsFree(myStats);
     61    psFree(myStats);
    6262
    6363    psMemCheckCorruption(1);
     
    7373                testStatus);
    7474
    75 
    76 
    77     printPositiveTestHeader(stdout,
    78                             "psStats functions",
    79                             "Deallocate NULL psStats structure.");
    80     psStatsFree(NULL);
    81     printFooter(stdout,
    82                 "psStats functions",
    83                 "Deallocate NULL psStats structure.",
    84                 testStatus);
    85 
    86 
    8775    return (!testStatus);
    8876}
Note: See TracChangeset for help on using the changeset viewer.