mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-12 12:58:34 +00:00
Try to prevent potential memory leak
This commit is contained in:
parent
e1a0139164
commit
7633141bd6
@ -1877,9 +1877,10 @@ static void xmb_init_horizontal_list(xmb_handle_t *xmb)
|
||||
for (i = 0; i < xmb->horizontal_list->size; i++)
|
||||
xmb_node_allocate_userdata(xmb, (unsigned)i);
|
||||
menu_displaylist_process(&info);
|
||||
menu_displaylist_info_free(&info);
|
||||
}
|
||||
}
|
||||
|
||||
menu_displaylist_info_free(&info);
|
||||
}
|
||||
|
||||
static void xmb_toggle_horizontal_list(xmb_handle_t *xmb)
|
||||
|
Loading…
Reference in New Issue
Block a user