Index: trunk/ippTools/src/warptool.c
===================================================================
--- trunk/ippTools/src/warptool.c	(revision 17180)
+++ trunk/ippTools/src/warptool.c	(revision 17219)
@@ -256,6 +256,8 @@
     PXOPT_COPY_F32(config->args, where, "-solang_max", "solang", "<");
 
-    if (!psListLength(where->list)) {
+    if (!psListLength(where->list)
+        && !psMetadataLookupBool(NULL, config->args, "-all")) {
         psFree(where);
+        where = NULL;
         psError(PXTOOLS_ERR_DATA, false, "search parameters are required");
         return false;
@@ -267,4 +269,5 @@
     if ((!state) && (!label)) {
         psError(PXTOOLS_ERR_DATA, false, "parameters are required");
+        psFree(where);
         return false;
     }
@@ -273,4 +276,5 @@
         // set chipRun.state to state
         if (!pxwarpRunSetStateByQuery(config, where, state)) {
+            psFree(where);
             return false;
         }
@@ -280,7 +284,10 @@
         // set chipRun.label to label
         if (!pxwarpRunSetLabelByQuery(config, where, label)) {
-            return false;
-        }
-    }
+            psFree(where);
+            return false;
+        }
+    }
+
+    psFree(where);
 
     return true;
