Index: /trunk/dbconfig/config.md
===================================================================
--- /trunk/dbconfig/config.md	(revision 13738)
+++ /trunk/dbconfig/config.md	(revision 13739)
@@ -2,4 +2,4 @@
     pkg_name        STR     ippdb
     pkg_namespace   STR     ippdb
-    pkg_version     STR     1.1.21
+    pkg_version     STR     1.1.22
 END
Index: /trunk/ippTools/configure.ac
===================================================================
--- /trunk/ippTools/configure.ac	(revision 13738)
+++ /trunk/ippTools/configure.ac	(revision 13739)
@@ -1,5 +1,5 @@
 AC_PREREQ(2.59)
 
-AC_INIT([ipptools], [1.1.21], [ipp-support@ifa.hawaii.edu])
+AC_INIT([ipptools], [1.1.22], [ipp-support@ifa.hawaii.edu])
 AC_CONFIG_SRCDIR([autogen.sh])
 
@@ -18,5 +18,5 @@
 PKG_CHECK_MODULES([PSLIB], [pslib >= 1.1.0])
 PKG_CHECK_MODULES([PSMODULES], [psmodules >= 1.1.0])
-PKG_CHECK_MODULES([IPPDB], [ippdb >= 1.1.21]) 
+PKG_CHECK_MODULES([IPPDB], [ippdb >= 1.1.22]) 
 
 PXTOOLS_CFLAGS="${PSLIB_CFLAGS=} ${PSMODULES_CFLAGS=} ${IPPDB_CFLAGS=}"
Index: /trunk/ippdb/configure.ac
===================================================================
--- /trunk/ippdb/configure.ac	(revision 13738)
+++ /trunk/ippdb/configure.ac	(revision 13739)
@@ -7,5 +7,5 @@
 AC_PREREQ(2.59)
 
-AC_INIT([ippdb], [1.1.21], [pan-starrs.ifa.hawaii.edu])
+AC_INIT([ippdb], [1.1.22], [pan-starrs.ifa.hawaii.edu])
 AC_CONFIG_SRCDIR([ippdb.pc.in])
 
Index: /trunk/ippdb/src/ippdb.c
===================================================================
--- /trunk/ippdb/src/ippdb.c	(revision 13738)
+++ /trunk/ippdb/src/ippdb.c	(revision 13739)
@@ -10221,5 +10221,5 @@
 static void warpSkyfileRowFree(warpSkyfileRow *object);
 
-warpSkyfileRow *warpSkyfileRowAlloc(psS64 warp_id, const char *skycell_id, const char *tess_id, const char *uri, psF64 bg, psF64 bg_stdev)
+warpSkyfileRow *warpSkyfileRowAlloc(psS64 warp_id, const char *skycell_id, const char *tess_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
 {
     warpSkyfileRow  *_object;
@@ -10232,4 +10232,5 @@
     _object->tess_id = psStringCopy(tess_id);
     _object->uri = psStringCopy(uri);
+    _object->path_base = psStringCopy(path_base);
     _object->bg = bg;
     _object->bg_stdev = bg_stdev;
@@ -10243,4 +10244,5 @@
     psFree(object->tess_id);
     psFree(object->uri);
+    psFree(object->path_base);
 }
 
@@ -10268,4 +10270,9 @@
         return false;
     }
+    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, "255")) {
+        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
+        psFree(md);
+        return false;
+    }
     if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, 0.0)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
@@ -10291,5 +10298,5 @@
 }
 
-bool warpSkyfileInsert(psDB * dbh, psS64 warp_id, const char *skycell_id, const char *tess_id, const char *uri, psF64 bg, psF64 bg_stdev)
+bool warpSkyfileInsert(psDB * dbh, psS64 warp_id, const char *skycell_id, const char *tess_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
 {
     psMetadata *md = psMetadataAlloc();
@@ -10311,4 +10318,9 @@
     if (!psMetadataAdd(md, PS_LIST_TAIL, "uri", PS_DATA_STRING, NULL, uri)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item uri");
+        psFree(md);
+        return false;
+    }
+    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, path_base)) {
+        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
         psFree(md);
         return false;
@@ -10347,5 +10359,5 @@
 bool warpSkyfileInsertObject(psDB *dbh, warpSkyfileRow *object)
 {
-    return warpSkyfileInsert(dbh, object->warp_id, object->skycell_id, object->tess_id, object->uri, object->bg, object->bg_stdev);
+    return warpSkyfileInsert(dbh, object->warp_id, object->skycell_id, object->tess_id, object->uri, object->path_base, object->bg, object->bg_stdev);
 }
 
@@ -10440,4 +10452,9 @@
         return false;
     }
+    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, object->path_base)) {
+        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
+        psFree(md);
+        return false;
+    }
     if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, object->bg)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
@@ -10479,4 +10496,9 @@
         return false;
     }
+    char* path_base = psMetadataLookupPtr(&status, md, "path_base");
+    if (!status) {
+        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item path_base");
+        return false;
+    }
     psF64 bg = psMetadataLookupF64(&status, md, "bg");
     if (!status) {
@@ -10490,5 +10512,5 @@
     }
 
-    return warpSkyfileRowAlloc(warp_id, skycell_id, tess_id, uri, bg, bg_stdev);
+    return warpSkyfileRowAlloc(warp_id, skycell_id, tess_id, uri, path_base, bg, bg_stdev);
 }
 psArray *warpSkyfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
@@ -11388,5 +11410,5 @@
 static void diffSkyfileRowFree(diffSkyfileRow *object);
 
-diffSkyfileRow *diffSkyfileRowAlloc(psS64 diff_id, const char *uri, psF64 bg, psF64 bg_stdev)
+diffSkyfileRow *diffSkyfileRowAlloc(psS64 diff_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
 {
     diffSkyfileRow  *_object;
@@ -11397,4 +11419,5 @@
     _object->diff_id = diff_id;
     _object->uri = psStringCopy(uri);
+    _object->path_base = psStringCopy(path_base);
     _object->bg = bg;
     _object->bg_stdev = bg_stdev;
@@ -11406,4 +11429,5 @@
 {
     psFree(object->uri);
+    psFree(object->path_base);
 }
 
@@ -11421,4 +11445,9 @@
         return false;
     }
+    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, "255")) {
+        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
+        psFree(md);
+        return false;
+    }
     if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, 0.0)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
@@ -11444,5 +11473,5 @@
 }
 
-bool diffSkyfileInsert(psDB * dbh, psS64 diff_id, const char *uri, psF64 bg, psF64 bg_stdev)
+bool diffSkyfileInsert(psDB * dbh, psS64 diff_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
 {
     psMetadata *md = psMetadataAlloc();
@@ -11454,4 +11483,9 @@
     if (!psMetadataAdd(md, PS_LIST_TAIL, "uri", PS_DATA_STRING, NULL, uri)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item uri");
+        psFree(md);
+        return false;
+    }
+    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, path_base)) {
+        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
         psFree(md);
         return false;
@@ -11490,5 +11524,5 @@
 bool diffSkyfileInsertObject(psDB *dbh, diffSkyfileRow *object)
 {
-    return diffSkyfileInsert(dbh, object->diff_id, object->uri, object->bg, object->bg_stdev);
+    return diffSkyfileInsert(dbh, object->diff_id, object->uri, object->path_base, object->bg, object->bg_stdev);
 }
 
@@ -11573,4 +11607,9 @@
         return false;
     }
+    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, object->path_base)) {
+        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
+        psFree(md);
+        return false;
+    }
     if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, object->bg)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
@@ -11602,4 +11641,9 @@
         return false;
     }
+    char* path_base = psMetadataLookupPtr(&status, md, "path_base");
+    if (!status) {
+        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item path_base");
+        return false;
+    }
     psF64 bg = psMetadataLookupF64(&status, md, "bg");
     if (!status) {
@@ -11613,5 +11657,5 @@
     }
 
-    return diffSkyfileRowAlloc(diff_id, uri, bg, bg_stdev);
+    return diffSkyfileRowAlloc(diff_id, uri, path_base, bg, bg_stdev);
 }
 psArray *diffSkyfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
@@ -12424,5 +12468,5 @@
 static void stackSumSkyfileRowFree(stackSumSkyfileRow *object);
 
-stackSumSkyfileRow *stackSumSkyfileRowAlloc(psS64 stack_id, const char *uri, psF64 bg, psF64 bg_stdev)
+stackSumSkyfileRow *stackSumSkyfileRowAlloc(psS64 stack_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
 {
     stackSumSkyfileRow *_object;
@@ -12433,4 +12477,5 @@
     _object->stack_id = stack_id;
     _object->uri = psStringCopy(uri);
+    _object->path_base = psStringCopy(path_base);
     _object->bg = bg;
     _object->bg_stdev = bg_stdev;
@@ -12442,4 +12487,5 @@
 {
     psFree(object->uri);
+    psFree(object->path_base);
 }
 
@@ -12457,4 +12503,9 @@
         return false;
     }
+    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, "255")) {
+        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
+        psFree(md);
+        return false;
+    }
     if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, 0.0)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
@@ -12480,5 +12531,5 @@
 }
 
-bool stackSumSkyfileInsert(psDB * dbh, psS64 stack_id, const char *uri, psF64 bg, psF64 bg_stdev)
+bool stackSumSkyfileInsert(psDB * dbh, psS64 stack_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
 {
     psMetadata *md = psMetadataAlloc();
@@ -12490,4 +12541,9 @@
     if (!psMetadataAdd(md, PS_LIST_TAIL, "uri", PS_DATA_STRING, NULL, uri)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item uri");
+        psFree(md);
+        return false;
+    }
+    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, path_base)) {
+        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
         psFree(md);
         return false;
@@ -12526,5 +12582,5 @@
 bool stackSumSkyfileInsertObject(psDB *dbh, stackSumSkyfileRow *object)
 {
-    return stackSumSkyfileInsert(dbh, object->stack_id, object->uri, object->bg, object->bg_stdev);
+    return stackSumSkyfileInsert(dbh, object->stack_id, object->uri, object->path_base, object->bg, object->bg_stdev);
 }
 
@@ -12609,4 +12665,9 @@
         return false;
     }
+    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, object->path_base)) {
+        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
+        psFree(md);
+        return false;
+    }
     if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, object->bg)) {
         psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
@@ -12638,4 +12699,9 @@
         return false;
     }
+    char* path_base = psMetadataLookupPtr(&status, md, "path_base");
+    if (!status) {
+        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item path_base");
+        return false;
+    }
     psF64 bg = psMetadataLookupF64(&status, md, "bg");
     if (!status) {
@@ -12649,5 +12715,5 @@
     }
 
-    return stackSumSkyfileRowAlloc(stack_id, uri, bg, bg_stdev);
+    return stackSumSkyfileRowAlloc(stack_id, uri, path_base, bg, bg_stdev);
 }
 psArray *stackSumSkyfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
Index: /trunk/ippdb/src/ippdb.h
===================================================================
--- /trunk/ippdb/src/ippdb.h	(revision 13738)
+++ /trunk/ippdb/src/ippdb.h	(revision 13739)
@@ -5133,4 +5133,5 @@
     char            *tess_id;
     char            *uri;
+    char            *path_base;
     psF64           bg;
     psF64           bg_stdev;
@@ -5147,4 +5148,5 @@
     const char      *tess_id,
     const char      *uri,
+    const char      *path_base,
     psF64           bg,
     psF64           bg_stdev
@@ -5182,4 +5184,5 @@
     const char      *tess_id,
     const char      *uri,
+    const char      *path_base,
     psF64           bg,
     psF64           bg_stdev
@@ -5764,4 +5767,5 @@
     psS64           diff_id;
     char            *uri;
+    char            *path_base;
     psF64           bg;
     psF64           bg_stdev;
@@ -5776,4 +5780,5 @@
     psS64           diff_id,
     const char      *uri,
+    const char      *path_base,
     psF64           bg,
     psF64           bg_stdev
@@ -5809,4 +5814,5 @@
     psS64           diff_id,
     const char      *uri,
+    const char      *path_base,
     psF64           bg,
     psF64           bg_stdev
@@ -6379,4 +6385,5 @@
     psS64           stack_id;
     char            *uri;
+    char            *path_base;
     psF64           bg;
     psF64           bg_stdev;
@@ -6391,4 +6398,5 @@
     psS64           stack_id,
     const char      *uri,
+    const char      *path_base,
     psF64           bg,
     psF64           bg_stdev
@@ -6424,4 +6432,5 @@
     psS64           stack_id,
     const char      *uri,
+    const char      *path_base,
     psF64           bg,
     psF64           bg_stdev
Index: /trunk/ippdb/tests/alloc.c
===================================================================
--- /trunk/ippdb/tests/alloc.c	(revision 13738)
+++ /trunk/ippdb/tests/alloc.c	(revision 13739)
@@ -1082,5 +1082,5 @@
         warpSkyfileRow  *object;
 
-        object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", 64.64, 64.64    );
+        object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", "a string", 64.64, 64.64    );
 
         if (!object) {
@@ -1104,4 +1104,8 @@
             exit(EXIT_FAILURE);
         }
+        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
         if (!object->bg == 64.64) {
             psFree(object);
@@ -1196,5 +1200,5 @@
         diffSkyfileRow  *object;
 
-        object = diffSkyfileRowAlloc(-64, "a string", 64.64, 64.64    );
+        object = diffSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64    );
 
         if (!object) {
@@ -1210,4 +1214,8 @@
             exit(EXIT_FAILURE);
         }
+        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
         if (!object->bg == 64.64) {
             psFree(object);
@@ -1286,5 +1294,5 @@
         stackSumSkyfileRow *object;
 
-        object = stackSumSkyfileRowAlloc(-64, "a string", 64.64, 64.64    );
+        object = stackSumSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64    );
 
         if (!object) {
@@ -1297,4 +1305,8 @@
         }
         if (strncmp(object->uri, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
+        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
             psFree(object);
             exit(EXIT_FAILURE);
Index: /trunk/ippdb/tests/insert.c
===================================================================
--- /trunk/ippdb/tests/insert.c	(revision 13738)
+++ /trunk/ippdb/tests/insert.c	(revision 13739)
@@ -358,5 +358,5 @@
         }
 
-        if (!warpSkyfileInsert(dbh, -64, "a string", "a string", "a string", 64.64, 64.64)) {
+        if (!warpSkyfileInsert(dbh, -64, "a string", "a string", "a string", "a string", 64.64, 64.64)) {
             exit(EXIT_FAILURE);
         }
@@ -403,5 +403,5 @@
         }
 
-        if (!diffSkyfileInsert(dbh, -64, "a string", 64.64, 64.64)) {
+        if (!diffSkyfileInsert(dbh, -64, "a string", "a string", 64.64, 64.64)) {
             exit(EXIT_FAILURE);
         }
@@ -448,5 +448,5 @@
         }
 
-        if (!stackSumSkyfileInsert(dbh, -64, "a string", 64.64, 64.64)) {
+        if (!stackSumSkyfileInsert(dbh, -64, "a string", "a string", 64.64, 64.64)) {
             exit(EXIT_FAILURE);
         }
Index: /trunk/ippdb/tests/insertobject.c
===================================================================
--- /trunk/ippdb/tests/insertobject.c	(revision 13738)
+++ /trunk/ippdb/tests/insertobject.c	(revision 13739)
@@ -520,5 +520,5 @@
         }
 
-        object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", 64.64, 64.64);
+        object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", "a string", 64.64, 64.64);
         if (!object) {
             exit(EXIT_FAILURE);
@@ -586,5 +586,5 @@
         }
 
-        object = diffSkyfileRowAlloc(-64, "a string", 64.64, 64.64);
+        object = diffSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64);
         if (!object) {
             exit(EXIT_FAILURE);
@@ -652,5 +652,5 @@
         }
 
-        object = stackSumSkyfileRowAlloc(-64, "a string", 64.64, 64.64);
+        object = stackSumSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64);
         if (!object) {
             exit(EXIT_FAILURE);
Index: /trunk/ippdb/tests/metadatafromobject.c
===================================================================
--- /trunk/ippdb/tests/metadatafromobject.c	(revision 13738)
+++ /trunk/ippdb/tests/metadatafromobject.c	(revision 13739)
@@ -1246,5 +1246,5 @@
         bool            status;
 
-        object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", 64.64, 64.64);
+        object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", "a string", 64.64, 64.64);
         if (!object) {
             exit(EXIT_FAILURE);
@@ -1273,4 +1273,8 @@
             exit(EXIT_FAILURE);
         }
+        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
         if (!psMetadataLookupF64(&status, md, "bg") == 64.64) {
             psFree(md);
@@ -1380,5 +1384,5 @@
         bool            status;
 
-        object = diffSkyfileRowAlloc(-64, "a string", 64.64, 64.64);
+        object = diffSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64);
         if (!object) {
             exit(EXIT_FAILURE);
@@ -1399,4 +1403,8 @@
             exit(EXIT_FAILURE);
         }
+        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
         if (!psMetadataLookupF64(&status, md, "bg") == 64.64) {
             psFree(md);
@@ -1490,5 +1498,5 @@
         bool            status;
 
-        object = stackSumSkyfileRowAlloc(-64, "a string", 64.64, 64.64);
+        object = stackSumSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64);
         if (!object) {
             exit(EXIT_FAILURE);
@@ -1506,4 +1514,8 @@
         }
         if (strncmp(psMetadataLookupPtr(&status, md, "uri"), "a string", MAX_STRING_LENGTH)) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
+        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
             psFree(md);
             exit(EXIT_FAILURE);
Index: /trunk/ippdb/tests/objectfrommetadata.c
===================================================================
--- /trunk/ippdb/tests/objectfrommetadata.c	(revision 13738)
+++ /trunk/ippdb/tests/objectfrommetadata.c	(revision 13739)
@@ -1942,4 +1942,8 @@
             exit(EXIT_FAILURE);
         }
+        if (!psMetadataAddStr(md, PS_LIST_TAIL, "path_base", 0, NULL, "a string")) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
         if (!psMetadataAddF64(md, PS_LIST_TAIL, "bg", 0, NULL, 64.64)) {
             psFree(md);
@@ -1974,4 +1978,8 @@
             exit(EXIT_FAILURE);
         }
+        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
         if (!object->bg == 64.64) {
             psFree(object);
@@ -2130,4 +2138,8 @@
             exit(EXIT_FAILURE);
         }
+        if (!psMetadataAddStr(md, PS_LIST_TAIL, "path_base", 0, NULL, "a string")) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
         if (!psMetadataAddF64(md, PS_LIST_TAIL, "bg", 0, NULL, 64.64)) {
             psFree(md);
@@ -2154,4 +2166,8 @@
             exit(EXIT_FAILURE);
         }
+        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
         if (!object->bg == 64.64) {
             psFree(object);
@@ -2278,4 +2294,8 @@
             exit(EXIT_FAILURE);
         }
+        if (!psMetadataAddStr(md, PS_LIST_TAIL, "path_base", 0, NULL, "a string")) {
+            psFree(md);
+            exit(EXIT_FAILURE);
+        }
         if (!psMetadataAddF64(md, PS_LIST_TAIL, "bg", 0, NULL, 64.64)) {
             psFree(md);
@@ -2299,4 +2319,8 @@
         }
         if (strncmp(object->uri, "a string", MAX_STRING_LENGTH)) {
+            psFree(object);
+            exit(EXIT_FAILURE);
+        }
+        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
             psFree(object);
             exit(EXIT_FAILURE);
