lets set list to null after we free it and before we call funcs that

could call callbacks that access this freed list eh?



SVN revision: 53325
This commit is contained in:
Carsten Haitzler 2010-10-13 00:41:00 +00:00
parent 8f1ac9f202
commit 4de21dcc19
1 changed files with 1 additions and 1 deletions

View File

@ -892,11 +892,11 @@ _item_unrealize(Elm_Gengrid_Item *item)
elm_widget_stringlist_free(item->icons);
item->icons = NULL;
elm_widget_stringlist_free(item->states);
item->states = NULL;
EINA_LIST_FREE(item->icon_objs, icon)
evas_object_del(icon);
item->states = NULL;
item->realized = EINA_FALSE;
item->want_unrealize = EINA_FALSE;
}