From b7aa9c9fa957ee0fef14374c89eea5f6250bfc5f Mon Sep 17 00:00:00 2001 From: woohyun Date: Wed, 9 Nov 2011 01:35:44 +0000 Subject: [PATCH] elementary/elm_diskselector : Just freeing data in eina_list is not enough. I think diskselector needs refactoring about freeing lists. I'll check more. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64965 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_diskselector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c index 23e58b5..e74a0b8 100644 --- a/src/lib/elm_diskselector.c +++ b/src/lib/elm_diskselector.c @@ -678,14 +678,14 @@ _round_items_del(Widget_Data *wd) EINA_LIST_FOREACH(wd->under_items, l, it) { _round_item_del(wd, it); - it = NULL; } + wd->under_items = eina_list_free(wd->under_items); EINA_LIST_FOREACH(wd->over_items, l, it) { _round_item_del(wd, it); - it = NULL; } + wd->over_items = eina_list_free(wd->over_items); } static void -- 2.7.4