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/image/tst_psImageStats01.c

    r904 r1073  
    123123                                "psImageStats functions",
    124124                                "Deallocate the psStats/psImage structure.");
    125         psStatsFree(myStats);
    126         psImageFree(tmpImage);
    127         psImageFree(tmpMask);
     125        psFree(myStats);
     126        psFree(tmpImage);
     127        psFree(tmpMask);
    128128
    129129        psMemCheckCorruption(1);
     
    165165    //
    166166
    167     psStatsFree(myStats);
    168     psImageFree(tmpImage);
    169     psImageFree(tmpMask);
     167    psFree(myStats);
     168    psFree(tmpImage);
     169    psFree(tmpMask);
    170170
    171171    psMemCheckCorruption(1);
Note: See TracChangeset for help on using the changeset viewer.