From 3a712e2497857aa53ddcbe35715261bdaa23c272 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 9 Dec 2019 18:36:24 +0100 Subject: [PATCH] collection_view: free pan object correctly edje will not take over this part, edje will just reparent it to the ML and go on. Reviewed-by: Cedric BAIL Differential Revision: https://phab.enlightenment.org/D10839 --- src/lib/elementary/efl_ui_collection_view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/elementary/efl_ui_collection_view.c b/src/lib/elementary/efl_ui_collection_view.c index dcf8f91462..ba18264225 100644 --- a/src/lib/elementary/efl_ui_collection_view.c +++ b/src/lib/elementary/efl_ui_collection_view.c @@ -2072,6 +2072,9 @@ _efl_ui_collection_view_efl_object_invalidate(Eo *obj, _all_cleanup(obj, pd); + if (pd->pan) + efl_del(pd->pan); + efl_invalidate(efl_super(obj, EFL_UI_COLLECTION_VIEW_CLASS)); }