removing ec from post_updates list when deleted. 65/48065/3 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150914.043103 accepted/tizen/mobile/20150914.123255 accepted/tizen/tv/20150914.043108 accepted/tizen/tv/20150914.123318 accepted/tizen/wearable/20150914.043119 accepted/tizen/wearable/20150914.123341 submit/tizen/20150914.005307 submit/tizen/20150914.121932 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
authorBoram Park <boram1288.park@samsung.com>
Sat, 12 Sep 2015 09:43:30 +0000 (18:43 +0900)
committerBoram Park <boram1288.park@samsung.com>
Sat, 12 Sep 2015 10:30:05 +0000 (19:30 +0900)
commitca9733cb4060259b4e0ff929c9f1a78b0c3409c5
tree2ee201f466dc7a7f302b2ccff2be71feccb6a1c1
parent438273e5b7202f28e84a58a81164f65bdaf80aaf
removing ec from post_updates list when deleted.

    When ec's ref_count is 0, _e_client_free() is called. However,
    e_comp->post_updates has the reference of ec. So it doens't make
    sense that _e_client_free calls e_comp_post_update_purge. To make
    ec's ref_count 0, we should call e_comp_post_update_purge first.
    Furthermore, we call e_comp_object_render_update_del(ec->frame)
    in _e_client_del. So _e_client_del seems the proper position to
    call e_comp_post_update_purge

Change-Id: I906101300dec08f7bf18f18428443efa47f7afec
src/bin/e_client.c