From: Doyoun Kang Date: Mon, 2 Nov 2020 09:59:52 +0000 (+0900) Subject: e_policy_wl: add null check code X-Git-Tag: submit/tizen/20201103.033023~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28a0b5ece733d06ca2540c3ede8edd3f59ea1338;p=platform%2Fupstream%2Fenlightenment.git e_policy_wl: add null check code Change-Id: I61a5bd5b9dbdfc1cf012a2d2c02acaa75b77b139 --- diff --git a/src/bin/e_policy_wl.c b/src/bin/e_policy_wl.c index 42d5d13003..8ab7f8f9fa 100644 --- a/src/bin/e_policy_wl.c +++ b/src/bin/e_policy_wl.c @@ -7455,6 +7455,8 @@ _e_policy_wl_cb_hook_shell_surface_ready(void *d, E_Client *ec) e_client_base_output_resolution_transform_adjust(ec); cdata = e_client_cdata_get(ec); + if (!cdata) return; + if ((cdata->shell.configure_send) && (cdata->shell.surface)) {