Index: trunk/ippdb/tests/alloc.c
===================================================================
--- trunk/ippdb/tests/alloc.c	(revision 10989)
+++ trunk/ippdb/tests/alloc.c	(revision 11005)
@@ -608,5 +608,5 @@
         p2PendingExpRow *object;
 
-        object = p2PendingExpRowAlloc("a string", "a string", -32, -32, "a string"    );
+        object = p2PendingExpRowAlloc("a string", "a string", -32, -32, "a string", -16    );
 
         if (!object) {
@@ -634,4 +634,7 @@
             exit(EXIT_FAILURE);
         }
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
 
         psFree(object);
@@ -641,5 +644,5 @@
         p2PendingImfileRow *object;
 
-        object = p2PendingImfileRowAlloc("a string", "a string", "a string", "a string", -32, -32    );
+        object = p2PendingImfileRowAlloc("a string", "a string", "a string", "a string", -32, -32, -16    );
 
         if (!object) {
@@ -668,4 +671,7 @@
         }
         if (!object->p2_version == -32) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
             psFree(object);
             exit(EXIT_FAILURE);
