From a8a7340ff20a4735c936c6f63b24467ad789adbf Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Tue, 27 Mar 2018 11:33:51 +0200 Subject: [PATCH] efl_ui_focus_manager: NULL out fields correctly Change-Id: I97906e1a0cc30e2aca6ed8fdcb3cb3814676b2f2 Signed-off-by: Wonki Kim --- src/lib/elementary/efl_ui_focus_manager_calc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c index ed93f90..22e0a42 100644 --- a/src/lib/elementary/efl_ui_focus_manager_calc.c +++ b/src/lib/elementary/efl_ui_focus_manager_calc.c @@ -1108,8 +1108,8 @@ _efl_ui_focus_manager_calc_efl_object_provider_find(const Eo *obj, Efl_Ui_Focus_ EOLIAN static void _efl_ui_focus_manager_calc_efl_object_destructor(Eo *obj, Efl_Ui_Focus_Manager_Calc_Data *pd) { - eina_list_free(pd->focus_stack); - eina_list_free(pd->dirty); + pd->focus_stack = eina_list_free(pd->focus_stack); + pd->dirty = eina_list_free(pd->dirty); eina_hash_free(pd->node_hash); -- 2.7.4