IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 3, 2004, 2:39:58 PM (22 years ago)
Author:
gusciora
Message:

Added memory corruption checks to these files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psFunc04.c

    r1861 r1946  
    2424    float x;
    2525    float y;
    26     //    int  currentId = psMemGetId();
     26    int  currentId = psMemGetId();
    2727    psSpline1D *tmpSpline;
    2828    psVector *data;
    2929
    3030    psTraceSetLevel(".", 0);
     31
    3132    /****************************************************************************/
    3233    /****************************************************************************/
     
    5253    }
    5354
    54     psFree(tmpSpline);
     55    p_psSpline1DFree(tmpSpline);
    5556    psMemCheckCorruption(1);
    56     //    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
     57    psFree(data);
     58    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
    5759    if (0 != memLeaks) {
    5860        psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
Note: See TracChangeset for help on using the changeset viewer.