Move file_list_free_userdata to menu_driver_list_free
This commit is contained in:
parent
2bf636b913
commit
3a4ee2d89a
|
@ -1905,7 +1905,6 @@ static void xmb_list_insert(file_list_t *list,
|
||||||
static void xmb_list_free(file_list_t *list,
|
static void xmb_list_free(file_list_t *list,
|
||||||
size_t idx, size_t list_size)
|
size_t idx, size_t list_size)
|
||||||
{
|
{
|
||||||
file_list_free_userdata(list, idx);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void xmb_list_cache(menu_list_type_t type, unsigned action)
|
static void xmb_list_cache(menu_list_type_t type, unsigned action)
|
||||||
|
|
|
@ -190,6 +190,7 @@ void menu_driver_list_free(file_list_t *list, size_t idx, size_t list_size)
|
||||||
if (driver->list_free)
|
if (driver->list_free)
|
||||||
driver->list_free(list, idx, list_size);
|
driver->list_free(list, idx, list_size);
|
||||||
|
|
||||||
|
file_list_free_userdata (list, idx);
|
||||||
file_list_free_actiondata(list, idx);
|
file_list_free_actiondata(list, idx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue