summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_key_grab.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-22 19:45:00 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-22 20:14:59 +0900
commit58fed21414399f2b65b1c72eea8dc8b4c2d0eefb (patch)
treee8dadbf0e61e50e45bee77ee77c96fa8c796ef84 /src/lib/evas/canvas/evas_key_grab.c
parent1c82a88d6e7f10ad74340a95535561204e89ad96 (diff)
evas - fix possible layer null access in object free
fixes CID 1039409
Diffstat (limited to 'src/lib/evas/canvas/evas_key_grab.c')
-rw-r--r--src/lib/evas/canvas/evas_key_grab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_key_grab.c b/src/lib/evas/canvas/evas_key_grab.c
index d14a06f..e26ca06 100644
--- a/src/lib/evas/canvas/evas_key_grab.c
+++ b/src/lib/evas/canvas/evas_key_grab.c
@@ -68,6 +68,7 @@ evas_key_grab_find(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, const c
68void 68void
69evas_object_grabs_cleanup(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) 69evas_object_grabs_cleanup(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj)
70{ 70{
71 if (!obj->layer) return;
71 if (obj->layer->evas->walking_grabs) 72 if (obj->layer->evas->walking_grabs)
72 { 73 {
73 Eina_List *l; 74 Eina_List *l;