IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 29, 2006, 7:10:56 PM (20 years ago)
Author:
jhoblitt
Message:

remove commented out free on line 30

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sys/tap_psStringSubstitute.c

    r8234 r8706  
    55#define ORIGINAL "This is, a, test case, to check."
    66#define CORRECTED "This is a test case to check."
    7 #define mem() ok(psMemCheckLeaks(0, NULL, stdout, false) == 0, "Memory Leaks")
     7#define mem() ok(psMemCheckLeaks(psMemGetLastId(), NULL, stdout, false) == 0, "Memory Leaks")
    88
    99int main (void)
     
    2828        input = psStringSubstitute(input, "XXX", "");
    2929        ok(input && strcmp(input, ORIGINAL) == 0, "output = %s", input);
    30         //        psFree(input);
     30        psFree(input);
    3131        //        ok(psMemCheckLeaks(0, NULL, stdout, false) == 0, "Memory Leaks");
    3232        mem();
Note: See TracChangeset for help on using the changeset viewer.