Index: trunk/psLib/src/math/psRegion.c
===================================================================
--- trunk/psLib/src/math/psRegion.c	(revision 8232)
+++ trunk/psLib/src/math/psRegion.c	(revision 9538)
@@ -3,5 +3,5 @@
 #include "psMemory.h"
 #include "psError.h"
-
+#include "psAssert.h"
 #include "psRegion.h"
 
@@ -109,7 +109,5 @@
 bool psMemCheckRegion(psPtr ptr)
 {
-    if (!is_psType(ptr)) {
-        return false;
-    }
+    PS_ASSERT_PTR(ptr, false);
     return ( psMemGetDeallocator(ptr) == (psFreeFunc)regionFree );
 }
