evas - protect against invalid obj id in legacy wrapper func

@fix
This commit is contained in:
Carsten Haitzler 2015-09-28 15:19:32 +09:00
parent 15b9ac2d25
commit 3894c3e1e0
1 changed files with 1 additions and 0 deletions

View File

@ -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));