Set ec->explicit_sync_surface to null when it destroyed 63/262363/4
authorJoonbum Ko <joonbum.ko@samsung.com>
Mon, 9 Aug 2021 05:52:27 +0000 (14:52 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 11 Aug 2021 01:32:06 +0000 (01:32 +0000)
commit9147849dc4eebe5146c3b275f65ee5379c24cc95
tree2b24ca088db0c3459cf8824445f2cf5948265e3a
parent87fdb62b75c531b12b6d0f0faf3866cf450cc6b6
Set ec->explicit_sync_surface to null when it destroyed

 - If client try to create only explicit_surface_sync after
 destroying its old one while ec is retained,
 the creation will be failed because ec->explicit_surface_sync
 was not initialized to NULL.

 - This problem cannot occur in normal EGL client,
   but can occur in Vulkan.

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