From 4544c0988fca796071d533b743481810d8f05211 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Thu, 22 Oct 2015 17:21:19 +0200 Subject: [PATCH] Fix this leak. --- retroarch.c | 2 ++ 1 file changed, 2 insertions(+) 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);