projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf1e97c
)
- fix mem leak in repo_add_rpmdb_pubkeys()
author
Michael Schroeder
<mls@suse.de>
Wed, 26 Jan 2011 11:37:14 +0000
(12:37 +0100)
committer
Michael Schroeder
<mls@suse.de>
Fri, 28 Jan 2011 14:55:07 +0000
(15:55 +0100)
ext/repo_rpmdb.c
patch
|
blob
|
history
diff --git
a/ext/repo_rpmdb.c
b/ext/repo_rpmdb.c
index
eed8a96
..
6ac9368
100644
(file)
--- a/
ext/repo_rpmdb.c
+++ b/
ext/repo_rpmdb.c
@@
-3037,6
+3037,8
@@
repo_add_rpmdb_pubkeys(Repo *repo, const char *rootdir, int flags)
repo->rpmdbid = repo_sidedata_create(repo, sizeof(Id));
repo->rpmdbid[s - pool->solvables - repo->start] = entries[i].rpmdbid;
}
+ sat_free(entries);
+ sat_free(namedata);
freestate(&state);
if (!(flags & REPO_NO_INTERNALIZE))
repodata_internalize(data);