summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-02-15 20:07:11 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-02-15 20:11:22 +0900
commitd689afccaeceacd1f8e06e9d161ca7591a6a334f (patch)
tree95bfbb6ac1d0aa2351fab32007d8221d0dbe5c7d /src/lib/elementary
parent8947caf120d7caa4358b9852e0dd72a93e6e908f (diff)
group: Track calls to group_del
After a long search I found that fileselector was not calling super.group_del on deletion, leading to the use of dangling pointers. So let's verify that group_del is properly called. See T4598
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index dd459bbdb0..a070c4cb60 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -486,6 +486,7 @@ _elm_widget_efl_canvas_group_group_del(Eo *obj, Elm_Widget_Smart_Data *sd)
486 eina_stringshare_del(sd->access_info); 486 eina_stringshare_del(sd->access_info);
487 eina_stringshare_del(sd->accessible_name); 487 eina_stringshare_del(sd->accessible_name);
488 evas_object_smart_data_set(obj, NULL); 488 evas_object_smart_data_set(obj, NULL);
489 efl_canvas_group_del(efl_super(obj, MY_CLASS));
489} 490}
490 491
491static void 492static void