From: SooChan Lim Date: Tue, 3 Nov 2020 02:22:56 +0000 (+0900) Subject: Revert "e_comp_wl: remove unreached code." X-Git-Tag: accepted/tizen/unified/20201103.123330~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=321fe99b35a4a7bf6e6d15d2ff080ad79190e7ae;p=platform%2Fupstream%2Fenlightenment.git Revert "e_comp_wl: remove unreached code." This reverts commit 386494e639ba141a7a47f2cc11eb522bb5615c69. Change-Id: I729e624264299e913f059b46c3e449f0d24bb12b --- diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index a8ca86e..42b91ad 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -3905,6 +3905,7 @@ _e_comp_wl_client_usable_get(pid_t pid, E_Pixmap *ep) /* to set-up comp data */ _e_comp_wl_client_cb_new(NULL, ec); ec->ignored = 0; + if (!cdata) return NULL; _e_comp_wl_client_evas_init(ec); ELOGF("COMP", "Reusable ec. new_pixmap:%p", ec, ec->pixmap);