ami pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5ef4f45a647f0047410bd363d3f6d33ec8a84702

commit 5ef4f45a647f0047410bd363d3f6d33ec8a84702
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Tue Feb 7 10:43:48 2017 +0530

    access: fix crash while cleanup
    
    The item is already deleted at this point and its garbage here
    which results into crash ultimately.
    Also I don't see a point in setting access_obj to NULL here
    
    @fix
    
    Signed-off-by: Amitesh Singh <amitesh...@samsung.com>
---
 src/lib/elementary/elm_access.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/lib/elementary/elm_access.c b/src/lib/elementary/elm_access.c
index 20117b9..5e3bf75 100644
--- a/src/lib/elementary/elm_access.c
+++ b/src/lib/elementary/elm_access.c
@@ -1150,11 +1150,6 @@ _elm_access_object_unregister(Evas_Object *obj, 
Evas_Object *hoverobj)
    evas_object_data_del(obj, "_elm_access");
    if (ac)
      {
-        /* widget could delete VIEW(it) only and register item again,
-           in this case _elm_access_widget_item_register could try to delete
-           access object again in _elm_access_widget_item_unregister */
-        if (ac->widget_item) ac->widget_item->access_obj = NULL;
-
         _elm_access_clear(ac);
         free(ac);
      }

-- 


Reply via email to