aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_ilist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_ilist.c')
-rw-r--r--src/bin/e_ilist.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bin/e_ilist.c b/src/bin/e_ilist.c
index e7ad5d40f..f987fb3fd 100644
--- a/src/bin/e_ilist.c
+++ b/src/bin/e_ilist.c
@@ -295,6 +295,16 @@ static void
_e_smart_del(Evas_Object *obj)
{
INTERNAL_ENTRY;
+ while (sd->items)
+ {
+ E_Smart_Item *si;
+
+ si = sd->items->data;
+ sd->items = evas_list_remove_list(sd->items, sd->items);
+ if (si->icon_obj) evas_object_del(si->icon_obj);
+ evas_object_del(si->base_obj);
+ free(si);
+ }
evas_object_del(sd->box_obj);
free(sd);
}