From 6422aa52d1bb58f6068dc7833b095637cc272fb6 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sat, 2 Aug 2014 05:04:13 +0200 Subject: [PATCH] Refactor deinit_temporary_content --- retroarch.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/retroarch.c b/retroarch.c index d23aafb378..1f6b96d305 100644 --- a/retroarch.c +++ b/retroarch.c @@ -3265,10 +3265,8 @@ static void deinit_temporary_content(void) if (remove(path) < 0) RARCH_ERR("Failed to remove temporary file: %s.\n", path); } - } - - if (g_extern.temporary_content) string_list_free(g_extern.temporary_content); + } g_extern.temporary_content = NULL; }