Index: trunk/ippTools/src/pxframes.c
===================================================================
--- trunk/ippTools/src/pxframes.c	(revision 9392)
+++ trunk/ippTools/src/pxframes.c	(revision 9735)
@@ -90,5 +90,5 @@
 \
     return true; \
-} 
+}
 
 PX_FRAME_PRINT(pzPendingFrame, pzPendingImfile);
@@ -111,5 +111,5 @@
     } \
  \
-    psArray *allFrames = psArrayAlloc(psArrayLength(exposures)); \
+    psArray *allFrames = psArrayAllocEmpty(psArrayLength(exposures)); \
  \
     for (long i = 0; i < psArrayLength(exposures); i++) { \
@@ -143,5 +143,5 @@
  \
     return allFrames; \
-} 
+}
 
 PX_FRAME_SEARCH(pzPendingFrame, pzPendingExp, pzPendingImfile, exp_id);
@@ -177,5 +177,5 @@
 
 /*
-rawDetrendFrame *newToRawDetrendFrame(pxConfig *config, newFrame *newFrame) 
+rawDetrendFrame *newToRawDetrendFrame(pxConfig *config, newFrame *newFrame)
 {
     newExpRow       *newExp = NULL;
@@ -187,5 +187,5 @@
 
     psArray *newImages = newFrame->images;
-    psArray *rawImages = psArrayAlloc(psArrayLength(newImages));
+    psArray *rawImages = psArrayAllocEmpty(psArrayLength(newImages));
     for (long i = 0; i < psArrayLength(newImages); i++) {
         newImfileRow *newImfile = newImages->data[i];
