Refactor deinit_temporary_content

This commit is contained in:
Twinaphex 2014-08-02 05:04:13 +02:00
parent ef9478873f
commit 6422aa52d1

View File

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