Index: trunk/psLib/test/dataManip/tst_psFunc04.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psFunc04.c	(revision 1861)
+++ trunk/psLib/test/dataManip/tst_psFunc04.c	(revision 1946)
@@ -24,9 +24,10 @@
     float x;
     float y;
-    //    int  currentId = psMemGetId();
+    int  currentId = psMemGetId();
     psSpline1D *tmpSpline;
     psVector *data;
 
     psTraceSetLevel(".", 0);
+
     /****************************************************************************/
     /****************************************************************************/
@@ -52,7 +53,8 @@
     }
 
-    psFree(tmpSpline);
+    p_psSpline1DFree(tmpSpline);
     psMemCheckCorruption(1);
-    //    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
+    psFree(data);
+    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
     if (0 != memLeaks) {
         psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
