aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_object_smart_clipped.c
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/evas/canvas/evas_object_smart_clipped.c
parenteo: Fix shadow variable warning (diff)
downloadefl-d689afccaeceacd1f8e06e9d161ca7591a6a334f.tar.gz
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 https://phab.enlightenment.org/T4598
Diffstat (limited to 'src/lib/evas/canvas/evas_object_smart_clipped.c')
-rw-r--r--src/lib/evas/canvas/evas_object_smart_clipped.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_smart_clipped.c b/src/lib/evas/canvas/evas_object_smart_clipped.c
index 252709a02f..a4b96d335d 100644
--- a/src/lib/evas/canvas/evas_object_smart_clipped.c
+++ b/src/lib/evas/canvas/evas_object_smart_clipped.c
@@ -79,6 +79,7 @@ EOLIAN static void
_efl_canvas_group_clipped_efl_canvas_group_group_del(Eo *eo_obj, Evas_Object_Smart_Clipped_Data *obj EINA_UNUSED)
{
evas_object_smart_clipped_smart_del(eo_obj);
+ // group_del_called was already set to true, no need to call super here.
}
static void