e_comp_wl: clear comp object immediately instead of unref e_client 88/44888/1 accepted/tizen/mobile/20150730.014214 accepted/tizen/tv/20150730.014332 accepted/tizen/wearable/20150730.014535 submit/tizen/20150729.082725
authorMinJeong Kim <minjjj.kim@samsung.com>
Wed, 29 Jul 2015 05:58:43 +0000 (14:58 +0900)
committerMinJeong Kim <minjjj.kim@samsung.com>
Wed, 29 Jul 2015 06:33:56 +0000 (15:33 +0900)
commit81825291e17ed70f512f3e50ae558bec95f49f36
tree51c1e4266e69af3b86df77929370691f572b9a5d
parentd05609319d85b4c41ed706f788984fb6c9444630
e_comp_wl: clear comp object immediately instead of unref e_client

When a buffer of deleted e_client destroied, it has unrefed e_client and freed
e_client. but if there remains some action using the e_client such as ecore
event, it's able to try to use e_client which is freed before. for example, if
the event free function is called after buffer destroy, it will try to unref
e_client which is freed already.

For prevent those problem, it's desirable to clear comp object immediately
insted of to unref e_client.

related patch: feaa183a35fbbae4fcf6b9cf27eaee3e7432db73

Change-Id: I47c971b5ae1d1a5ff3a6c11bb5e80ad21c9b9224
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/bin/e_comp_wl.c