Index: trunk/psLib/test/dataManip/tst_psMinimize06.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMinimize06.c	(revision 1830)
+++ trunk/psLib/test/dataManip/tst_psMinimize06.c	(revision 1992)
@@ -22,4 +22,5 @@
 This procedure ignores the coordinates, other than to ensure that they were
 passed correctly from psMinimizePowell().
+ 
  *****************************************************************************/
 float myFunc(psVector *myDeriv,
@@ -34,4 +35,5 @@
     if (myDeriv == NULL) {
         myDeriv = psVectorAlloc(myParams->n, PS_TYPE_F32);
+        psError(__func__, "myDeriv is NULL.\n");
     }
 
@@ -129,4 +131,7 @@
     psFree(myParamMask);
     psFree(min);
+    psFree(x);
+    psFree(y);
+    psFree(myCovar);
 
     psMemCheckCorruption(1);
