This commit is contained in:
twinaphex 2020-08-03 18:03:15 +02:00
parent d864fd9ead
commit 4465a7bd0b

View File

@ -1256,10 +1256,10 @@ SKIP_ENTRY:;
void menu_explore_free(void)
{
if (explore_state)
{
explore_free(explore_state);
free(explore_state);
explore_state = NULL;
}
if (!explore_state)
return;
explore_free(explore_state);
free(explore_state);
explore_state = NULL;
}