seoz pushed a commit to branch elementary-1.9. http://git.enlightenment.org/core/elementary.git/commit/?id=f730248508ac8fbb0e44df15d9389e5a51afc3bc
commit f730248508ac8fbb0e44df15d9389e5a51afc3bc Author: Daniel Juyung Seo <[email protected]> Date: Mon Mar 3 18:17:32 2014 +0900 object_item: Check null in elm_object_item_del. As all EFL del/free APIs handle null as an exception, elm_object_item_del() should check null as well. @fix --- src/lib/elm_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c index 90981b0..240c9f7 100644 --- a/src/lib/elm_main.c +++ b/src/lib/elm_main.c @@ -1830,6 +1830,7 @@ EAPI void elm_object_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb del_cb) EAPI void elm_object_item_del(Elm_Object_Item *it) { + if (!it) return; _elm_widget_item_del((Elm_Widget_Item *)it); } --
