Fix gem memory leak issue when client destroyed. 27/255727/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Tue, 23 Mar 2021 04:44:38 +0000 (13:44 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Tue, 23 Mar 2021 04:44:41 +0000 (13:44 +0900)
commit2c166ed0510b598d164f8f421934d13fce4d83b5
tree868a9b5b152ae1e71422d8559654d78696770a99
parentf2c1739f2064c11d9a69bec58f51263d3bb0893d
Fix gem memory leak issue when client destroyed.

 - When surface_fini, the ENQUEUED state, the wl_egl_buffer
  was not properly processed.
 - As a result, the APP was terminated without
  tbm_surface_destroy, resulting in GEM Memory leak.

Change-Id: I5b9da2f256265c9f986ecc6ff4dcd963e096e30b
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wl_egl_thread.c