From 718eeb4a39fd2b4505e9959084848c9021973e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Sun, 3 Sep 2017 10:25:15 -0300 Subject: [PATCH] (xmb) Fix memleak Due to file_list_free()'s behavior of free()ing userdata as if it was a simple, contiguous structure xmb_node_t's fullpath member wasn't being free()'d. --- 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 e90f9a9cf1..477d49abfe 100755 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -4418,7 +4418,7 @@ menu_ctx_driver_t menu_ctx_xmb = { xmb_menu_init_list, xmb_list_insert, NULL, - NULL, + xmb_list_clear, /* free */ xmb_list_clear, xmb_list_cache, xmb_list_push,