Page MenuHomePhabricator

efl_ui_tab_bar: fix error about double free
ClosedPublic

Authored by bowonryu on Dec 3 2018, 9:37 PM.

Details

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

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bowonryu created this revision.Dec 3 2018, 9:37 PM
bowonryu requested review of this revision.Dec 3 2018, 9:37 PM
Jaehyun_Cho accepted this revision.Dec 5 2018, 3:21 AM
This revision is now accepted and ready to land.Dec 5 2018, 3:21 AM
This revision was automatically updated to reflect the committed changes.