mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Fix this leak.
This commit is contained in:
parent
d8d18fc886
commit
4544c0988f
@ -1522,6 +1522,8 @@ void rarch_playlist_load_content(void *data, unsigned idx)
|
|||||||
{
|
{
|
||||||
rarch_main_msg_queue_push("File could not be loaded.\n", 1, 100, true);
|
rarch_main_msg_queue_push("File could not be loaded.\n", 1, 100, true);
|
||||||
RARCH_LOG("File at %s failed to load.\n", path_check);
|
RARCH_LOG("File at %s failed to load.\n", path_check);
|
||||||
|
free(path_tolower);
|
||||||
|
free(path_check);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
retro_fclose(fp);
|
retro_fclose(fp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user