Index: /trunk/psLib/src/math/psStats.c
===================================================================
--- /trunk/psLib/src/math/psStats.c	(revision 10474)
+++ /trunk/psLib/src/math/psStats.c	(revision 10475)
@@ -16,6 +16,6 @@
  * use ->min and ->max (PS_STAT_USE_RANGE)
  *
- *  @version $Revision: 1.192 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-12-01 22:41:33 $
+ *  @version $Revision: 1.193 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-12-05 20:05:57 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -239,5 +239,5 @@
       costs only a small amount and is much easier to debug. running 10000 tests
       of 1000 point vectors for the two methods gives:
-                     separate    single 
+                     separate    single
 (mask: 0, range: 0): 0.067 sec   0.073 sec
 (mask: 1, range: 0): 0.098 sec  0.102 sec
@@ -314,5 +314,5 @@
       costs only a small amount and is much easier to debug. running 10000 tests
       of 1000 point vectors for the two methods gives:
-                     separate    single 
+                     separate    single
 (mask: 0, range: 0):  0.101 sec  0.149 sec
 (mask: 1, range: 0):  0.125 sec  0.160 sec
@@ -1300,4 +1300,5 @@
             psFree(statsMinMax);
             psTrace("psLib.math", 4, "---- %s(false) end  ----\n", __func__);
+            psFree(mask);
             return false;
         }
@@ -1318,4 +1319,5 @@
 
             psTrace("psLib.math", 4, "---- %s(0) end  ----\n", __func__);
+            psFree(mask);
             return false;
         }
@@ -1375,4 +1377,5 @@
                 psFree(cumulative);
                 psTrace("psLib.math", 4, "---- %s(false) end  ----\n", __func__);
+                psFree(mask);
                 return false;
             }
@@ -1391,4 +1394,5 @@
             psFree(cumulative);
             psTrace("psLib.math", 4, "---- %s(false) end  ----\n", __func__);
+            psFree(mask);
             return false;
         }
@@ -1426,4 +1430,5 @@
             psFree(cumulative);
             psTrace("psLib.math", 4, "---- %s(false) end  ----\n", __func__);
+            psFree(mask);
             return false;
         }
@@ -1544,4 +1549,5 @@
         psFree(cumulative);
         psTrace("psLib.math", 4, "---- %s(false) end  ----\n", __func__);
+        psFree(mask);
         return false;
     }
@@ -1561,4 +1567,5 @@
         psFree(statsMinMax);
         psTrace("psLib.math", 4, "---- %s(1) end  ----\n", __func__);
+        psFree(mask);
         return false;
     }
