elm_diskselector.c: fixed potential bug of diskselector.

set the variable to NULL after freeing the list.
This commit is contained in:
Daniel Juyung Seo 2013-05-21 01:25:02 +09:00
parent de1c965029
commit 2d7b273b7c
1 changed files with 1 additions and 1 deletions

View File

@ -1409,7 +1409,7 @@ _elm_diskselector_smart_del(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
_item_del(it);
elm_widget_item_free(it);
}
eina_list_free(sd->r_items);
sd->r_items = eina_list_free(sd->r_items);
if (sd->scroller_move_idle_enterer)
{