diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 8ae1942d50..3bd0b3e27f 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -1572,7 +1572,7 @@ static void xmb_free(void *data) free(xmb->selection_buf_old); xmb->selection_buf_old = NULL; if (xmb->horizontal_list) - free(xmb->horizontal_list); + file_list_free(xmb->horizontal_list); xmb->horizontal_list = NULL; gl_coord_array_free(&xmb->raster_block.carr);