summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_callbacks.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-09-28 15:19:32 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-09-28 15:19:32 +0900
commit3894c3e1e0e133078889e416c7d6f3c82a255bb9 (patch)
treeb0e1a1e45051d7b62be61f422d70149cb9962ada /src/lib/evas/canvas/evas_callbacks.c
parent15b9ac2d2547e433faa521e95415327323b94e52 (diff)
evas - protect against invalid obj id in legacy wrapper func
@fix
Diffstat (limited to 'src/lib/evas/canvas/evas_callbacks.c')
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 07d682a5bf..9c8e3f4c48 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -303,6 +303,7 @@ evas_object_event_callback_priority_add(Evas_Object *eo_obj, Evas_Callback_Type
303 return; 303 return;
304 MAGIC_CHECK_END(); 304 MAGIC_CHECK_END();
305 305
306 if (!obj) return;
306 if (!func) return; 307 if (!func) return;
307 308
308 _eo_evas_object_cb_info *cb_info = calloc(1, sizeof(*cb_info)); 309 _eo_evas_object_cb_info *cb_info = calloc(1, sizeof(*cb_info));