forked from enlightenment/efl
elementary/elm_index : Freed pointer should not be returned.
SVN revision: 82458
This commit is contained in:
parent
a345019094
commit
f696af78d1
|
@ -1259,10 +1259,14 @@ _item_sorted_insert(Eo *obj, void *_pd, va_list *list)
|
||||||
p_it->base.data = it->base.data;
|
p_it->base.data = it->base.data;
|
||||||
_item_free(it);
|
_item_free(it);
|
||||||
elm_widget_item_del(it);
|
elm_widget_item_del(it);
|
||||||
|
it = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_index_box_clear(obj, sd->bx[sd->level], sd->level);
|
_index_box_clear(obj, sd->bx[sd->level], sd->level);
|
||||||
|
|
||||||
|
if (!it)
|
||||||
|
*ret = NULL;
|
||||||
|
else
|
||||||
*ret = (Elm_Object_Item *)it;
|
*ret = (Elm_Object_Item *)it;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue