summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-11-23 15:49:11 +0000
committerjbj <devnull@localhost>2001-11-23 15:49:11 +0000
commite98018b4d8730a80b2d320e6393f9129b2d13770 (patch)
tree88e4d57de86d16edfa7d6f9de4692383a69c8153 /db
parent9d66753a5b99ecd9ae022c5ff42eec58b57d8c13 (diff)
downloadrpm-e98018b4d8730a80b2d320e6393f9129b2d13770.tar.gz
rpm-e98018b4d8730a80b2d320e6393f9129b2d13770.tar.bz2
rpm-e98018b4d8730a80b2d320e6393f9129b2d13770.zip
- fix a couple dinky memory leaks.
- build with an internal zlib for now. CVS patchset: 5207 CVS date: 2001/11/23 15:49:11
Diffstat (limited to 'db')
-rw-r--r--db/mp/mp_fopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/mp/mp_fopen.c b/db/mp/mp_fopen.c
index e5d7250d0..094414d8a 100644
--- a/db/mp/mp_fopen.c
+++ b/db/mp/mp_fopen.c
@@ -300,7 +300,7 @@ __memp_fopen_int(dbmfp, mfp, path, flags, mode, pagesize, needlock)
dbmp = dbmfp->dbmp;
dbenv = dbmp->dbenv;
ret = 0;
- rpath = NULL;
+ rpath = rpath_orig = NULL;
if (path == NULL)
last_pgno = 0;