aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-02-07 10:43:48 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2017-02-07 10:52:09 +0530
commit5ef4f45a647f0047410bd363d3f6d33ec8a84702 (patch)
tree22335a3f0e00bdcab386b8314402d2c59a30aa64
parentelm_code: syntax fix for preprocessor over multiple lines (diff)
downloadefl-5ef4f45a647f0047410bd363d3f6d33ec8a84702.tar.gz
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.sh@samsung.com>
-rw-r--r--src/lib/elementary/elm_access.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_access.c b/src/lib/elementary/elm_access.c
index 20117b93e9..5e3bf75670 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);
}