From: Daniel Hirt Date: Thu, 15 Nov 2018 08:55:46 +0000 (+0200) Subject: Ui Scroller : remove unnecessary efl_del X-Git-Tag: submit/tizen/20181205.064917~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05a035b205f7bbaf4bb67c6248783131944e93e6;p=platform%2Fupstream%2Fefl.git Ui Scroller : remove unnecessary efl_del Child objects are already destoryed during destruction of the parent object. This fixes ERR messages when doing `efl_del(sd->smanager)` object, which is already destroyed at that point. --- diff --git a/src/lib/elementary/efl_ui_scroller.c b/src/lib/elementary/efl_ui_scroller.c index 9d652da..8ad0466 100644 --- a/src/lib/elementary/efl_ui_scroller.c +++ b/src/lib/elementary/efl_ui_scroller.c @@ -454,7 +454,6 @@ _efl_ui_scroller_efl_object_destructor(Eo *obj, _efl_ui_scroller_pan_resized_cb, obj); efl_del(sd->pan_obj); sd->pan_obj = NULL; - efl_del(sd->smanager); sd->smanager = NULL; efl_destructor(efl_super(obj, MY_CLASS));