diff --git a/retroarch.c b/retroarch.c index 694fa43e90..d373c86a76 100644 --- a/retroarch.c +++ b/retroarch.c @@ -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);