efl_ui_focus_manager: unset redirect when destroyed

This commit is contained in:
Marcel Hollerbach 2016-12-12 19:09:03 +01:00
parent be251b0496
commit 8a216da3bb
1 changed files with 2 additions and 0 deletions

View File

@ -749,6 +749,8 @@ _efl_ui_focus_manager_efl_object_destructor(Eo *obj, Efl_Ui_Focus_Manager_Data *
eina_hash_free(pd->node_hash);
efl_ui_focus_manager_redirect_set(obj, NULL);
if (pd->root)
node_item_free(pd->root);
pd->root = NULL;