(Menu) Don't run 'file_list_free' if handle is NULL

This commit is contained in:
twinaphex 2015-03-12 13:45:23 +01:00
parent 0b5105433f
commit 42690f334f

View File

@ -153,7 +153,8 @@ void menu_list_destroy(file_list_t *list)
}
end:
file_list_free(list);
if (list)
file_list_free(list);
}
void menu_list_free(menu_list_t *menu_list)