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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-08-05 13:58:13 +01:00
parent cc1a2d4b6b
commit 80f2498909
1 changed files with 1 additions and 1 deletions

View File

@ -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