mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +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_LOG("File at %s failed to load.\n", path_check);
|
||||
free(path_tolower);
|
||||
free(path_check);
|
||||
return;
|
||||
}
|
||||
retro_fclose(fp);
|
||||
|
Loading…
Reference in New Issue
Block a user