Index: trunk/psLib/src/image/psImage.c
===================================================================
--- trunk/psLib/src/image/psImage.c	(revision 3446)
+++ trunk/psLib/src/image/psImage.c	(revision 3671)
@@ -9,6 +9,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.61 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-03-18 02:35:14 $
+ *  @version $Revision: 1.62 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-04-06 01:12:58 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -35,18 +35,4 @@
     if (image == NULL) {
         return;
-    }
-
-    if (image->type.type == PS_TYPE_PTR) {
-        // 2-D array of pointers -- must dereference elements
-        psU32 oldNumRows = image->numRows;
-        psU32 oldNumCols = image->numCols;
-        psPtr* rowPtr;
-
-        for (psU32 row = 0; row < oldNumRows; row++) {
-            rowPtr = image->data.PTR[row];
-            for (psU32 col = 0; col < oldNumCols; col++) {
-                psMemDecrRefCounter(rowPtr[col]);
-            }
-        }
     }
 
@@ -188,20 +174,4 @@
     }
 
-    if (old->type.type == PS_TYPE_PTR) {
-        // 2-D array of pointers -- must
-        // dereference
-        psU32 oldNumRows = old->numRows;
-        psU32 oldNumCols = old->numCols;
-        psPtr* rowPtr;
-
-        for (psU32 row = 0; row < oldNumRows; row++) {
-            rowPtr = old->data.PTR[row];
-            for (psU32 col = 0; col < oldNumCols; col++) {
-                psMemDecrRefCounter(rowPtr[col]);
-                rowPtr[col] = NULL;
-            }
-        }
-    }
-
     /* image already the right size/type? */
     if (numCols == old->numCols && numRows == old->numRows &&
@@ -263,12 +233,4 @@
     elements = numRows * numCols;
     elementSize = PSELEMTYPE_SIZEOF(inDatatype);
-
-    if (inDatatype == PS_TYPE_PTR || type == PS_TYPE_PTR) {
-        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
-                PS_ERRORTEXT_psImage_IMAGE_TYPE_UNSUPPORTED,
-                PS_TYPE_PTR_NAME);
-        psFree(output);
-        return NULL;
-    }
 
     output = psImageRecycle(output, numCols, numRows, type);
