summaryrefslogtreecommitdiff
path: root/lib/rebuilddb.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1999-03-05 21:37:15 +0000
committerewt <devnull@localhost>1999-03-05 21:37:15 +0000
commit23430a401a0c8a9bb9f9d3da71df9a2bfe738b33 (patch)
tree24f17cd43adb62e3f79ef9e7a2231aa913aaf4fb /lib/rebuilddb.c
parentad163a65bd7e2caf744928f311ef5bd6dbdbccdd (diff)
downloadlibrpm-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.c2
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);
}