jaehyun pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=ede6c1316bc6aa443947f707ccbc9b5164b1782e
commit ede6c1316bc6aa443947f707ccbc9b5164b1782e Author: Bowon Ryu <[email protected]> Date: Wed Dec 5 20:28:24 2018 +0900 efl_ui_tab_bar: fix error about double free Summary: tab is the parent of the icon. so deleting the tab causes deleting the icon automatically. in this case, it can cause double-freed problem once icon has deleted. Test Plan: elementary_test -to efl.ui.tab_pager Reviewers: cedric, Jaehyun_Cho, jpeg Reviewed By: Jaehyun_Cho Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7407 --- src/lib/elementary/efl_ui_tab_bar.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_tab_bar.c b/src/lib/elementary/efl_ui_tab_bar.c index 7aeb78cf5f..7d9f5c29dc 100644 --- a/src/lib/elementary/efl_ui_tab_bar.c +++ b/src/lib/elementary/efl_ui_tab_bar.c @@ -298,7 +298,6 @@ _efl_ui_tab_bar_tab_remove(Eo *obj EINA_UNUSED, Efl_Ui_Tab_Bar_Data *sd, int ind _tab_unselect(sd, ti); evas_object_box_remove(sd->bx, ti->tab); efl_del(ti->tab); - efl_del(ti->icon); sd->tab_infos = eina_list_remove(sd->tab_infos, ti); sd->cnt --; --
