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 <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10839
This commit is contained in:
Marcel Hollerbach 2019-12-09 18:36:24 +01:00 committed by Cedric BAIL
parent 7a72796920
commit 3a712e2497
1 changed files with 3 additions and 0 deletions

View File

@ -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));
}