jackdanielz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=c52cf3e9e4d24608e45e5a7da1a6871329929af3
commit c52cf3e9e4d24608e45e5a7da1a6871329929af3 Author: Daniel Zaoui <daniel.za...@samsung.com> Date: Tue Mar 18 13:59:21 2014 +0200 Accessibility: unref the object only if it exists. If the type returned by evas_object_type_get is "", no object will be created. There is no reason why unref would be invoked. It removes all the bad prints in accessibility tests about obj_id NULL. @fix --- src/lib/elm_atspi_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_atspi_object.c b/src/lib/elm_atspi_object.c index 5b176f5..589d4a2 100644 --- a/src/lib/elm_atspi_object.c +++ b/src/lib/elm_atspi_object.c @@ -1009,7 +1009,7 @@ _elm_atspi_factory_construct(Evas_Object *obj) else if (!strncmp(type, "elm_", 4)) // defaults to implementation for elm_widget class. ret = eo_add(ELM_ATSPI_WIDGET_CLASS, obj); - eo_unref(ret); // only evas_object should hold reference to atspi object + if (ret) eo_unref(ret); // only evas_object should hold reference to atspi object return ret; } --