Try to prevent potential memory leak

This commit is contained in:
twinaphex 2017-09-28 03:53:48 +02:00
parent e1a0139164
commit 7633141bd6

View File

@ -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)