Skip to content

Commit

Permalink
mem/rpm: fix double close
Browse files Browse the repository at this point in the history
Reported by Coverity CID #199936

(cherry picked from commit a9b238f)
  • Loading branch information
razvancrainea committed Jul 3, 2019
1 parent 253d146 commit 68fe595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mem/rpm_mem.c
Expand Up @@ -476,7 +476,7 @@ int load_rpm_file(void)
rpm_map_block = rpm_mempool;
if (rpm_mem_init_allocs() < 0) {
rpm_mem_destroy();
goto recreate;
return 1;
}

return 0;
Expand Down

0 comments on commit 68fe595

Please sign in to comment.