Plug memory leak.
authorjbj <devnull@localhost>
Tue, 15 Jun 1999 14:35:17 +0000 (14:35 +0000)
committerjbj <devnull@localhost>
Tue, 15 Jun 1999 14:35:17 +0000 (14:35 +0000)
CVS patchset: 3089
CVS date: 1999/06/15 14:35:17

lib/rpmdb.c

index 1eb43f0..d8eeed7 100644 (file)
@@ -69,7 +69,7 @@ int rpmdbOpenForTraversal(const char * prefix, rpmdb * rpmdbp) {
                     RPMDB_FLAG_MINIMAL)) {
        return 1;
     }
-
+    xfree(dbpath);
     return 0;
 }