mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Properly clean up function pointers in menu_common_list_delete
This commit is contained in:
parent
fbc3abb621
commit
8d68031ec4
@ -692,7 +692,10 @@ static void menu_common_list_delete(void *data, size_t index,
|
||||
|
||||
if (cbs)
|
||||
{
|
||||
cbs->action_ok = NULL;
|
||||
cbs->action_start = NULL;
|
||||
cbs->action_ok = NULL;
|
||||
cbs->action_toggle = NULL;
|
||||
cbs->action_deferred_push = NULL;
|
||||
free(list->list[index].actiondata);
|
||||
}
|
||||
list->list[index].actiondata = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user