Index: trunk/psLib/src/mathtypes/psImage.c
===================================================================
--- trunk/psLib/src/mathtypes/psImage.c	(revision 23416)
+++ trunk/psLib/src/mathtypes/psImage.c	(revision 23443)
@@ -55,8 +55,8 @@
 
         // drop my entry on my parent's array of children
-	// lock parent before freeing child : psArrayRemoveDataNoFree is NOT thread safe
-	psMutexLock (parent);
+        // lock parent before freeing child : psArrayRemoveDataNoFree is NOT thread safe
+        psMutexLock (parent);
         psArrayRemoveDataNoFree (parent->children, image);
-	psMutexUnlock (parent);
+        psMutexUnlock (parent);
 
         // drop my reference to my parent
@@ -87,15 +87,6 @@
     int rowSize = numCols * elementSize;        // row size in bytes.
 
-    if (numRows < 1) {
-        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
-                _("Specified number of rows (%d) or columns (%d) is invalid."),
-                numRows, numCols);
-        return NULL;
-    }
-    if (numCols < 1) {
-        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
-                _("Specified number of rows (%d) or columns (%d) is invalid."),
-                numRows, numCols);
-        return NULL;
+    if (numRows < 1 || numCols < 1) {
+        psAbort(_("Specified number of rows (%d) or columns (%d) is invalid."), numRows, numCols);
     }
 
