diff options
author | ewt <devnull@localhost> | 1998-01-12 16:58:31 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1998-01-12 16:58:31 +0000 |
commit | ec07f9df959c911c60727ba68c455f4ff20497bf (patch) | |
tree | 995a49389c339c6aa07eb32f60924685859fe853 /lib | |
parent | 32c00a2278b5d3fe2d17d7829d48002723a8172f (diff) | |
download | librpm-tizen-ec07f9df959c911c60727ba68c455f4ff20497bf.tar.gz librpm-tizen-ec07f9df959c911c60727ba68c455f4ff20497bf.tar.bz2 librpm-tizen-ec07f9df959c911c60727ba68c455f4ff20497bf.zip |
fixed memory leak -- findMatches() wasn't freeing headers
CVS patchset: 1953
CVS date: 1998/01/12 16:58:31
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lookup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lookup.c b/lib/lookup.c index 3971c8c49..9b60ac71c 100644 --- a/lib/lookup.c +++ b/lib/lookup.c @@ -108,6 +108,8 @@ static int findMatches(rpmdb db, char * name, char * version, char * release, gotMatches = 1; else matches->recs[i].recOffset = 0; + + headerFree(h); } } |