Index: trunk/psLib/test/sysUtils/tst_psHash03.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psHash03.c	(revision 1201)
+++ trunk/psLib/test/sysUtils/tst_psHash03.c	(revision 1295)
@@ -68,4 +68,5 @@
     int i               = 0;
     int TotalKeys       = 0;
+    bool retVal         = false;
     ID *id = NULL;
     char *myKeys[] = {"ENTRY00", "ENTRY01", "ENTRY02", "ENTRY03", NULL};
@@ -101,9 +102,10 @@
     i = 0;
     while (myKeys[i] != NULL) {
-        id = psHashRemove(myHashTable, myKeys[i]);
         // The psHashRemove() procedure removes the entry from the hash
-        // table, but does not delete the data.  The following is necessary
-        // to delete the data as well (which is returned from the call).
-        psFree(id);
+        // table and deletes the data.
+        retVal = psHashRemove(myHashTable, myKeys[i]);
+        if (!retVal) {
+            fprintf(stderr,"%s: Hash table entry not removed.\n",__func__);
+        }
         id = psHashLookup(myHashTable, myKeys[i]);
         if (id != NULL) {
@@ -124,6 +126,7 @@
         psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
     }
-    psMemCheckCorruption(1);
+    psMemCheckCorruption(true);
 
     return (!testStatus);
 }
+
