mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Revert "Fix a leak here." because it gives segfaults.
This reverts commit 156449ca9dc24db305617d2744e64bbbb308c815.
This commit is contained in:
parent
156449ca9d
commit
da8a02ddb2
@ -780,13 +780,7 @@ static void xmb_list_delete(void *data, size_t index,
|
||||
|
||||
static void xmb_list_clear(void *data)
|
||||
{
|
||||
file_list_t *list = (file_list_t*)data;
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < list->size; i++)
|
||||
{
|
||||
xmb_list_delete(list, i, list->size);
|
||||
}
|
||||
(void)data;
|
||||
}
|
||||
|
||||
static void xmb_list_set_selection(void *data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user