Index: trunk/ippTools/src/regtool.c
===================================================================
--- trunk/ippTools/src/regtool.c	(revision 8563)
+++ trunk/ippTools/src/regtool.c	(revision 8661)
@@ -446,5 +446,4 @@
         ); // WHERE class is generated from exp_id, class, & class_id
 
-    char *whereClaus = NULL;
     {
         // build a query to search by exp_id, class, class_id
@@ -495,5 +494,5 @@
 
         // there's not
-        whereClaus = psDBGenerateWhereSQL(where, NULL);
+        psString whereClaus = psDBGenerateWhereSQL(where, NULL);
         psFree(where);
         if (whereClaus) {
