efl_ui_pan: stop leaking content
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Mon, 9 Dec 2019 17:27:37 +0000 (18:27 +0100)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 16 Dec 2019 03:26:45 +0000 (12:26 +0900)
commit2a32fef08c801ef4b0f7b1a80dc8bf9097c69916
treebe453bfad3943623b80f936ec35b295ca2d991ed
parent5d0c95e4e75f6c369ba22ce61de989d87fc95cff
efl_ui_pan: stop leaking content

pans implementation of Efl.Content is different to each other
implementation, setting the content to NULL is not really deleting the
obejct, since this is done at those widgets that are actaully using the
pan. This is weird and fine in the same way, as the pan is only
internal. However, when we are shutting down, we must free the content
here.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10838
src/lib/elementary/efl_ui_pan.c