From ca93308c9b436ec0c13f28b4543eb2f10e7297da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Fri, 12 Jun 2015 20:27:15 -0300 Subject: [PATCH] (XMB) Fix leak --- menu/drivers/xmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 702124476e..fb0544a37d 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -1569,7 +1569,7 @@ static void xmb_free(void *data) free(xmb->menu_stack_old); xmb->menu_stack_old = NULL; if (xmb->selection_buf_old) - free(xmb->selection_buf_old); + file_list_free(xmb->selection_buf_old); xmb->selection_buf_old = NULL; if (xmb->horizontal_list) file_list_free(xmb->horizontal_list);