Don't leak 4096 bytes in config_load_remap

This commit is contained in:
twinaphex 2018-08-06 06:54:52 +02:00
parent 5a727ce522
commit 68f5c907fe

View File

@ -3411,12 +3411,14 @@ bool config_load_remap(void)
new_conf = NULL;
free(content_path);
free(remap_directory);
free(core_path);
free(game_path);
return false;
success:
free(content_path);
free(remap_directory);
free(core_path);
free(game_path);