Fix this leak.

This commit is contained in:
Alcaro 2015-10-22 17:21:19 +02:00
parent d8d18fc886
commit 4544c0988f

View File

@ -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);