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 9d6d830..281a555 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);