From: Michael Schroeder Date: Tue, 7 Jan 2014 16:44:33 +0000 (+0100) Subject: plug memory leak when the rpmdb is found to be corrupt X-Git-Tag: 0.6.4~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8beaece09040926fb9ea9d6c42b24bda463392e;p=thirdparty%2Flibsolv.git plug memory leak when the rpmdb is found to be corrupt --- diff --git a/ext/repo_rpmdb.c b/ext/repo_rpmdb.c index 9d6d8306..281a5557 100644 --- 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);