remove the link of wl_resource and wl_client destory listener 14/144314/2
authorSangjin Lee <lsj119@samsung.com>
Wed, 16 Aug 2017 08:08:40 +0000 (17:08 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Wed, 16 Aug 2017 08:18:25 +0000 (08:18 +0000)
commit0f69c937a2878a9dcdc151d13f7d89be88808c21
tree555a4560f389474903c1a275ae86707d245e7285
parente457e41f5c844b1b09278da3b13f4576d616172f
remove the link of wl_resource and wl_client  destory listener

wl_resource was use the wl_priv_signal for destroy signal from new version of wayland.
unlike the wl_signal, the link of signal should be removed in the destory callback function.
If not, it could the cause of memory crash when instance of link was freed without unlink
in the destroy callback.

Change-Id: Ieaa04e69eade4fd4a61da6a79d303a96546370d3
src/lib/desktop-shell/shell.c
src/lib/pepper/buffer.c