Added check for deleted status of e_object before refering it
authorMinJeong Kim <minjjj.kim@samsung.com>
Fri, 16 Jan 2015 01:36:22 +0000 (10:36 +0900)
committerBoram Park <boram1288.park@samsung.com>
Wed, 18 Mar 2015 04:03:07 +0000 (13:03 +0900)
Change-Id: I9b76d6b4bb1ccb3fb8db8d5c7a44312882862e7d
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/bin/e_comp_object.c

index a1ca2a78d59a01126a7a7e75066ce31a74fbf649..6e30bb03e47fd4b1a2e4453f89a69439f33e6276 100644 (file)
@@ -174,6 +174,7 @@ _e_comp_object_intercept_hook_call(E_Comp_Object_Intercept_Hook_Point hookpoint,
    E_Comp_Object_Intercept_Hook *ch;
    Eina_Bool ret = EINA_TRUE;
 
+   if (e_object_is_del(E_OBJECT(ec))) return ret;
    e_object_ref(E_OBJECT(ec));
    _e_comp_object_intercept_hooks_walking++;
    EINA_INLIST_FOREACH(_e_comp_object_intercept_hooks[hookpoint], ch)