Index: trunk/psLib/src/math/psStats.c
===================================================================
--- trunk/psLib/src/math/psStats.c	(revision 6484)
+++ trunk/psLib/src/math/psStats.c	(revision 7055)
@@ -16,6 +16,6 @@
  * use ->min and ->max (PS_STAT_USE_RANGE)
  *
- *  @version $Revision: 1.170 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-02-24 23:43:15 $
+ *  @version $Revision: 1.171 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-05-03 23:16:16 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -617,4 +617,5 @@
                 PS_ERRORTEXT_psStats_STATS_SAMPLE_MEDIAN_SORT_PROBLEM);
         psTrace(__func__, 4, "---- %s(false) end ----\n", __func__);
+        psFree(unsortedVector);
         return(false);
     }
