efl_ui_scroller: free pan object correctly
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Mon, 9 Dec 2019 17:36:55 +0000 (18:36 +0100)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 16 Dec 2019 03:26:45 +0000 (12:26 +0900)
commite27ff197021b05be0789489413f648f7c3fe44c3
treef7ffe0638d13af6c56f8edc4356c261235ca9587
parent96a0f02eadccd09d7e6b3b628494c41c26be9057
efl_ui_scroller: free pan object correctly

we need to free the object in the invalidate, not in the destructor.
Otherwise we might leak objects in bindings.

Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10840
src/lib/elementary/efl_ui_scroller.c
src/lib/elementary/efl_ui_scroller.eo