zmike pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=cced5487c83c8f75e2ca40969f5749d5e6570228
commit cced5487c83c8f75e2ca40969f5749d5e6570228 Author: Yeongjong Lee <yj34....@samsung.com> Date: Mon Mar 18 08:50:19 2019 -0400 efl_ui_layout: call efl_del instead of efl_unref when text part does not exist Summary: Because `efl_isa` doesn't call _efl_object_call_end, the part object is not removed. it occurs a bunch of efl_unref error message. Test Plan: 1. elementary_test -to 'efl.ui.box' 2. exit window. 3. check there is no efl_unref error message. Reviewers: zmike, cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8385 --- src/lib/elementary/efl_ui_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c index a1580aa693..8f9c63333c 100644 --- a/src/lib/elementary/efl_ui_layout.c +++ b/src/lib/elementary/efl_ui_layout.c @@ -2770,7 +2770,7 @@ elm_layout_text_set(Eo *obj, const char *part, const char *text) if (!efl_isa(part_obj, EFL_TEXT_INTERFACE) || !efl_isa(part_obj, EFL_UI_LAYOUT_PART_CLASS)) { - efl_unref(part_obj); + efl_del(part_obj); return EINA_FALSE; } --