Index: trunk/pswarp/src/pswarpTransformReadout.c
===================================================================
--- trunk/pswarp/src/pswarpTransformReadout.c	(revision 18884)
+++ trunk/pswarp/src/pswarpTransformReadout.c	(revision 18967)
@@ -84,5 +84,6 @@
                 return false;
             }
-            psFree (args);
+            psFree(job);
+            psFree(args);
         }
     }
@@ -90,5 +91,5 @@
     // wait for the threads to finish and manage results
     // wait here for the threaded jobs to finish
-    if (!psThreadPoolWait ()) {
+    if (!psThreadPoolWait (false)) {
         psError(PS_ERR_UNKNOWN, false, "Unable to interpolate image.");
         return false;
