Index: trunk/psLib/test/dataManip/tst_psHist02.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psHist02.c	(revision 2223)
+++ trunk/psLib/test/dataManip/tst_psHist02.c	(revision 2226)
@@ -114,4 +114,7 @@
                              "Calling psVectorHistogram() with various NULL inputs." );
 
+
+
+    // ********************************************************************
     // Verify the return value is null and program execution doesn't stop,
     // if input parameter myHist is null.
@@ -125,5 +128,6 @@
 
 
-    // Verify the retrun value is the same as the input parameter myHist and
+    // ********************************************************************
+    // Verify the return value is the same as the input parameter myHist and
     // program execution doesn't stop, if the input parameter myArray is
     // null.
@@ -138,4 +142,6 @@
 
 
+    exit(0);
+    // ********************************************************************
     // Verify the return value is the same as the input parameter myHist and
     // program execution doesn't stop, if the input parameter myArray has no
Index: trunk/psLib/test/dataManip/tst_psStats00.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats00.c	(revision 2223)
+++ trunk/psLib/test/dataManip/tst_psStats00.c	(revision 2226)
@@ -11,5 +11,4 @@
 {
     psStats *myStats    = NULL;
-    psStats *myStats2    = NULL;
     psS32 testStatus      = true;
     psS32 globalTestStatus = true;
@@ -164,7 +163,9 @@
                 "PS_STAT_SAMPLE_MEAN: with vector mask=3",
                 testStatus);
+
     /*************************************************************************/
     /*  Call psVectorStats() with NULL inputs.                               */
     /*************************************************************************/
+
     printPositiveTestHeader(stdout,
                             "psStats functions",
@@ -172,5 +173,5 @@
 
     myStats = psVectorStats(myStats, NULL, NULL, 0);
-    myStats2 = psVectorStats(NULL, myVector, NULL, 0);
+    psStats *myStats2 = psVectorStats(NULL, myVector, NULL, 0);
 
     printFooter(stdout,
@@ -195,4 +196,5 @@
         psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
     }
+    psFree(myStats2);
 
     printFooter(stdout,
