mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Don't leak 4096 bytes in config_load_remap
This commit is contained in:
parent
5a727ce522
commit
68f5c907fe
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user