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:
6005f01
)
plug memory leak when the rpmdb is found to be corrupt
author
Michael Schroeder
<mls@suse.de>
Tue, 7 Jan 2014 16:44:33 +0000
(17:44 +0100)
committer
Michael Schroeder
<mls@suse.de>
Tue, 7 Jan 2014 16:44:33 +0000
(17:44 +0100)
ext/repo_rpmdb.c
patch
|
blob
|
history
diff --git
a/ext/repo_rpmdb.c
b/ext/repo_rpmdb.c
index
9d6d830
..
281a555
100644
(file)
--- a/
ext/repo_rpmdb.c
+++ b/
ext/repo_rpmdb.c
@@
-1813,7
+1813,7
@@
repo_add_rpmdb(Repo *repo, Repo *ref, int flags)
if (res <= 0)
{
if (!res)
-
return
pool_error(pool, -1, "inconsistent rpm database, key %d not found. run 'rpm --rebuilddb' to fix.", dbid);
+ pool_error(pool, -1, "inconsistent rpm database, key %d not found. run 'rpm --rebuilddb' to fix.", dbid);
freestate(&state);
solv_free(entries);
solv_free(namedata);