Index: trunk/psLib/test/sysUtils/tst_psHash00.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psHash00.c	(revision 584)
+++ trunk/psLib/test/sysUtils/tst_psHash00.c	(revision 860)
@@ -1,4 +1,4 @@
 /*****************************************************************************
-    This code tests whether a hash table be allocated successfully.
+    This code will test whether a hash table can be allocated successfully.
  *****************************************************************************/
 #include <stdio.h>
@@ -12,5 +12,6 @@
     int testStatus      = true;
     int i               = 0;
-
+    int currentId = psMemGetId();
+    int memLeaks        = 0;
     printPositiveTestHeader(stdout,
                             "psHash functions",
@@ -51,4 +52,12 @@
                 testStatus);
 
+    psHashFree(myHashTable, NULL);
+
+    memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
+    if (0 != memLeaks) {
+        psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
+    }
+    psMemCheckCorruption(1);
+
     return (!testStatus);
 }
