elm list - fix access of deleted items in list when recursing

@fix
This commit is contained in:
Carsten Haitzler 2015-02-09 18:20:45 +09:00
parent b48ab5e101
commit d9e54a4c96
1 changed files with 2 additions and 0 deletions

View File

@ -837,6 +837,7 @@ _items_fix(Evas_Object *obj)
EINA_LIST_FOREACH(sd->items, l, eo_it)
{
ELM_LIST_ITEM_DATA_GET(eo_it, it);
if (!it) continue;
if (it->deleted) continue;
if (it->icon)
{
@ -866,6 +867,7 @@ _items_fix(Evas_Object *obj)
EINA_LIST_FOREACH(sd->items, l, eo_it)
{
ELM_LIST_ITEM_DATA_GET(eo_it, it);
if (!it) continue;
if (it->deleted)
continue;