Index: trunk/ppImage/src/ppFocus.c
===================================================================
--- trunk/ppImage/src/ppFocus.c	(revision 8751)
+++ trunk/ppImage/src/ppFocus.c	(revision 9738)
@@ -29,31 +29,31 @@
 
     // allocate vectors for analysis
-    psVector *focus = psVectorAlloc (infiles->n, PS_TYPE_F32);
-    psVector *fwhm = psVectorAlloc (infiles->n, PS_TYPE_F32);
+    psVector *focus = psVectorAllocEmpty(infiles->n, PS_TYPE_F32);
+    psVector *fwhm = psVectorAllocEmpty(infiles->n, PS_TYPE_F32);
 
     for (int i = 0; i < infiles->n; i++) {
 
-	// define recipe options
-	// define the active I/O files
-	ppImageOptions *options = ppFocusParseCamera(config, i);
-	if (options == NULL) {
-	    psErrorStackPrint(stderr, " ");
-	    exit(1);
-	}
+        // define recipe options
+        // define the active I/O files
+        ppImageOptions *options = ppFocusParseCamera(config, i);
+        if (options == NULL) {
+            psErrorStackPrint(stderr, " ");
+            exit(1);
+        }
 
-	// Image Arithmetic Loop
-	// XXX ppFocus REQUIRES photom: for it to be true?
-	// 
-	if (!ppImageLoop(config, options)) {
-	    psErrorStackPrint(stderr, " ");
-	    exit(1);
-	}
-	
-	// determine FWHM at reference location in image
-	// (also removes PPIMAGE.INPUT from config->files)
-	ppFocusGetFWHM (config, focus, fwhm);
+        // Image Arithmetic Loop
+        // XXX ppFocus REQUIRES photom: for it to be true?
+        //
+        if (!ppImageLoop(config, options)) {
+            psErrorStackPrint(stderr, " ");
+            exit(1);
+        }
 
-	ppFocusDropCamera (config);
-	psFree (options);
+        // determine FWHM at reference location in image
+        // (also removes PPIMAGE.INPUT from config->files)
+        ppFocusGetFWHM (config, focus, fwhm);
+
+        ppFocusDropCamera (config);
+        psFree (options);
     }
 
