Index: trunk/psLib/src/imageops/psImageStructManip.c
===================================================================
--- trunk/psLib/src/imageops/psImageStructManip.c	(revision 15456)
+++ trunk/psLib/src/imageops/psImageStructManip.c	(revision 15492)
@@ -8,6 +8,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-11-05 23:56:33 $
+ *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-11-08 01:09:48 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -161,12 +161,11 @@
     psRegion region = {0, 0, 0, 0};
     region = psRegionForImage (input, region);
-    psImage *result = imageSubset (__FILE__, __LINE__, __func__, output, input,
-                                   region.x0, region.y0, region.x1, region.y1);
+    psImage *result = imageSubset(__FILE__, __LINE__, __func__, output, input,
+                                  region.x0, region.y0, region.x1, region.y1);
     return result;
 }
 
-psImage* psImageCopy(psImage* output,
-                     const psImage* input,
-                     psElemType type)
+psImage* p_psImageCopy(const char *file, unsigned int lineno, const char *func,
+                       psImage* output, const psImage* input, psElemType type)
 {
     psElemType inDatatype;
@@ -203,5 +202,5 @@
     elementSize = PSELEMTYPE_SIZEOF(inDatatype);
 
-    output = psImageRecycle(output, numCols, numRows, type);
+    output = p_psImageRecycle(file, lineno, func, output, numCols, numRows, type);
     P_PSIMAGE_SET_COL0(output, input->col0);
     P_PSIMAGE_SET_ROW0(output, input->row0);
