From 3894c3e1e0e133078889e416c7d6f3c82a255bb9 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 28 Sep 2015 15:19:32 +0900 Subject: [PATCH] evas - protect against invalid obj id in legacy wrapper func @fix --- src/lib/evas/canvas/evas_callbacks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c index 07d682a..9c8e3f4 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 return; MAGIC_CHECK_END(); + if (!obj) return; if (!func) return; _eo_evas_object_cb_info *cb_info = calloc(1, sizeof(*cb_info)); -- 2.7.4