From: SooChan Lim Date: Fri, 17 Jul 2020 08:02:55 +0000 (+0900) Subject: e_comp_object: check if cw->ec is null X-Git-Tag: submit/tizen/20200720.080509~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=703ef122696b94c1dc724bc54276c450c42b82af;p=platform%2Fupstream%2Fenlightenment.git e_comp_object: check if cw->ec is null Change-Id: I8c20593eb7eeb17be58d6888a5c087c37e73256c --- diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 01be9d6dd1..cff9f480ba 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -2209,6 +2209,8 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw) E_Client *ec = cw->ec; int w = 0, h = 0; + EINA_SAFETY_ON_NULL_RETURN(cw->ec); + #ifdef _F_E_COMP_OBJECT_INTERCEPT_HOOK_ if (!_e_comp_object_intercept_hook_call(E_COMP_OBJECT_INTERCEPT_HOOK_SHOW_HELPER, ec)) {