Index: /trunk/ippTools/src/camtool.c
===================================================================
--- /trunk/ippTools/src/camtool.c	(revision 11712)
+++ /trunk/ippTools/src/camtool.c	(revision 11713)
@@ -190,8 +190,8 @@
     if (!p_psDBRunQuery(config->dbh, query)) {
         psError(PS_ERR_UNKNOWN, false, "database error");
-        psFree(query)
-        return false;
-    }
-    psFree(query)
+        psFree(query);
+        return false;
+    }
+    psFree(query);
 
     psArray *output = p_psDBFetchResult(config->dbh);
Index: /trunk/ippTools/src/chiptool.c
===================================================================
--- /trunk/ippTools/src/chiptool.c	(revision 11712)
+++ /trunk/ippTools/src/chiptool.c	(revision 11713)
@@ -345,5 +345,5 @@
 
         psString whereClause = psDBGenerateWhereConditionSQL(config->where, "p2PendingImfile");
-        psFree(where)
+        psFree(where);
         if (whereClause) {
             psStringAppend(&query, " AND %s", whereClause);
Index: /trunk/ippTools/src/detselect.c
===================================================================
--- /trunk/ippTools/src/detselect.c	(revision 11712)
+++ /trunk/ippTools/src/detselect.c	(revision 11713)
@@ -276,5 +276,5 @@
         // XXX check psError here
         psError(PS_ERR_UNKNOWN, false, "no detNormalizedImfile rows found");
-        psFree(output)
+        psFree(output);
         return true;
     }
Index: /trunk/ippTools/src/dettool.c
===================================================================
--- /trunk/ippTools/src/dettool.c	(revision 11712)
+++ /trunk/ippTools/src/dettool.c	(revision 11713)
@@ -1272,5 +1272,5 @@
 
     // discard the resultarray
-    psFree(detRuns)
+    psFree(detRuns);
 
     // set the det_id to 0/NULL so the database can assign it
@@ -2474,5 +2474,5 @@
         // XXX check psError here
         psError(PS_ERR_UNKNOWN, false, "no detProcessedExp rows found");
-        psFree(output)
+        psFree(output);
         return true;
     }
@@ -3874,5 +3874,5 @@
         // XXX check psError here
         psError(PS_ERR_UNKNOWN, false, "no detNormalizedExp rows found");
-        psFree(output)
+        psFree(output);
         return true;
     }
@@ -4191,5 +4191,5 @@
         // XXX check psError here
         psError(PS_ERR_UNKNOWN, false, "no detNormalizedImfile rows found");
-        psFree(output)
+        psFree(output);
         return true;
     }
@@ -5107,5 +5107,5 @@
         // XXX check psError here
         psError(PS_ERR_UNKNOWN, false, "no detResidExp rows found");
-        psFree(output)
+        psFree(output);
         return true;
     }
