From 80f24989099dd78484151f076a3f313f477aba30 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 5 Aug 2013 13:58:13 +0100 Subject: [PATCH] efreet_menu_move_free will free "move" here so remove the menu from the parent's list Before we free the menu. Signed-off-by: Chris Michael --- src/lib/efreet/efreet_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c index 88559c272d..ba5e6a14d5 100644 --- a/src/lib/efreet/efreet_menu.c +++ b/src/lib/efreet/efreet_menu.c @@ -1887,8 +1887,8 @@ efreet_menu_handle_old(Efreet_Menu_Internal *parent, Efreet_Xml *xml) xml->text); if (move) { - efreet_menu_move_free(move); parent->moves = eina_list_remove(parent->moves, move); + efreet_menu_move_free(move); } #endif -- 2.34.1