Index: trunk/psLib/src/image/psImage.c
===================================================================
--- trunk/psLib/src/image/psImage.c	(revision 719)
+++ trunk/psLib/src/image/psImage.c	(revision 727)
@@ -7,6 +7,6 @@
  *  @author Ross Harman, MHPCC
  *   
- *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-05-18 23:26:26 $
+ *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-05-19 01:20:02 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -65,6 +65,14 @@
 void psImageFree(psImage *image)
 {
+    if (image == NULL) {
+        return;
+    }
+
     psImageFreeChildren(image);
-    psImageFreePixels(image);
+
+    psFree(image->data.v[0]);
+    psFree(image->data.v);
+    image->data.v = NULL;
+
     psFree(image);
 }
@@ -166,19 +174,4 @@
 
     return (out);
-}
-
-void psImageFreePixels(psImage *restrict image)
-{
-    if (image == NULL || image->data.v == NULL) {
-        return;
-    }
-
-    psFree(image->data.v[0]);
-    psFree(image->data.v);
-    image->data.v = NULL;
-
-    // xxx - is this proper?
-    *(unsigned int*)&image->numRows = 0;
-    *(unsigned int*)&image->numCols = 0;
 }
 
