projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad163a6
)
fixed memory leak
author
ewt
<devnull@localhost>
Fri, 5 Mar 1999 21:37:15 +0000
(21:37 +0000)
committer
ewt
<devnull@localhost>
Fri, 5 Mar 1999 21:37:15 +0000
(21:37 +0000)
CVS patchset: 2853
CVS date: 1999/03/05 21:37:15
lib/rebuilddb.c
patch
|
blob
|
history
diff --git
a/lib/rebuilddb.c
b/lib/rebuilddb.c
index
70b7975
..
2962639
100644
(file)
--- 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);
}