diff options
author | ewt <devnull@localhost> | 1999-03-05 21:37:15 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1999-03-05 21:37:15 +0000 |
commit | 23430a401a0c8a9bb9f9d3da71df9a2bfe738b33 (patch) | |
tree | 24f17cd43adb62e3f79ef9e7a2231aa913aaf4fb /lib/rebuilddb.c | |
parent | ad163a65bd7e2caf744928f311ef5bd6dbdbccdd (diff) | |
download | librpm-tizen-23430a401a0c8a9bb9f9d3da71df9a2bfe738b33.tar.gz librpm-tizen-23430a401a0c8a9bb9f9d3da71df9a2bfe738b33.tar.bz2 librpm-tizen-23430a401a0c8a9bb9f9d3da71df9a2bfe738b33.zip |
fixed memory leak
CVS patchset: 2853
CVS date: 1999/03/05 21:37:15
Diffstat (limited to 'lib/rebuilddb.c')
-rw-r--r-- | lib/rebuilddb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rebuilddb.c b/lib/rebuilddb.c index 70b79750e..296263912 100644 --- a/lib/rebuilddb.c +++ b/lib/rebuilddb.c @@ -78,6 +78,8 @@ int rpmdbRebuild(const char * rootdir) { _("record number %d in database is bad -- skipping it"), recnum); } + + headerFree(h); } recnum = rpmdbNextRecNum(olddb, recnum); } |