From 703ef122696b94c1dc724bc54276c450c42b82af Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 17 Jul 2020 17:02:55 +0900 Subject: [PATCH] e_comp_object: check if cw->ec is null Change-Id: I8c20593eb7eeb17be58d6888a5c087c37e73256c --- src/bin/e_comp_object.c | 2 ++ 1 file changed, 2 insertions(+) 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)) { -- 2.34.1