]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
plug memory leak when the rpmdb is found to be corrupt
authorMichael Schroeder <mls@suse.de>
Tue, 7 Jan 2014 16:44:33 +0000 (17:44 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 7 Jan 2014 16:44:33 +0000 (17:44 +0100)
ext/repo_rpmdb.c

index 9d6d830693dd78a5ac7eee162eda3ee080fc24b3..281a5557a5cb02329418c7fa5dc9fab497ef0b38 100644 (file)
@@ -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);