compositor: Fix memory corruption 47/297047/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 9 Aug 2023 09:40:11 +0000 (18:40 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 9 Aug 2023 10:16:33 +0000 (19:16 +0900)
commite24dca91f5de544a2e71c1a41651f95eb417c4a5
treebbd15934ca22fd1e5930df6e6115eed5444f2dd4
parenta39a93d599cf4684e0abb92540e403b0eee303d2
compositor: Fix memory corruption

Calling wl_list_remove(sub->parent_surface_destroy.link) in
_e_subsurface_destroy() caused memory corruption, if it is called after
the destruction of parent surface.

Change-Id: Ifb0ee675554d13c93aed2e2c438c8a43f2d347e1
src/bin/e_compositor.c