IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 861


Ignore:
Timestamp:
Jun 3, 2004, 5:22:43 PM (22 years ago)
Author:
gusciora
Message:

Fixed most memory leaks.

Location:
trunk/psLib/test/sysUtils
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/tst_psHash02.c

    r860 r861  
    7171                testStatus);
    7272
    73     psHashFree(myHashTable, NULL);
     73    //    psHashFree(myHashTable, NULL);
     74    psHashFree(myHashTable, (void (*)(void *))IdFree);
    7475
    7576    memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
  • trunk/psLib/test/sysUtils/tst_psHash03.c

    r860 r861  
    8484                testStatus);
    8585
    86     psHashFree(myHashTable, NULL);
     86    psHashFree(myHashTable, (void (*)(void *))IdFree);
    8787    memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
    8888    if (0 != memLeaks) {
  • trunk/psLib/test/sysUtils/tst_psHash04.c

    r860 r861  
    6161                testStatus);
    6262
    63     psHashFree(myHashTable, NULL);
     63    psHashFree(myHashTable, (void (*)(void *))IdFree);
    6464
    6565    memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
Note: See TracChangeset for help on using the changeset viewer.