Index: trunk/psLib/src/math/psMinimizeLMM.c
===================================================================
--- trunk/psLib/src/math/psMinimizeLMM.c	(revision 7766)
+++ trunk/psLib/src/math/psMinimizeLMM.c	(revision 7914)
@@ -10,6 +10,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-06-30 02:20:06 $
+ *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-07-15 02:57:12 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -539,4 +539,7 @@
 bool psMemCheckMinimization(psPtr ptr)
 {
+    if (!is_psType(ptr)) {
+        return false;
+    }
     return( psMemGetDeallocator(ptr) == (psFreeFunc)minimizationFree );
 }
