if (extraIndex < 0) return;
group_count = _group_count(obj, extraIndex, adj_pos, N);
- if (group_count <= 0) return;
+ if (group_count <= 0)
+ {
+ if (indx)
+ free(indx);
+ indx = NULL;
+ return;
+ }
PlacementPart place[adj_pos];
remainder = extraIndex%group_count;
return;
}
it = _item_new(obj, letter, item);
+ if (!it) return;
+
it_rel = _item_find(obj, relative);
if (!it_rel)
{
wd->tot_items_count[wd->level]++;
return;
}
- if (!it) return;
+
wd->items = eina_list_append_relative(wd->items, it, it_rel);
wd->tot_items_count[wd->level]++;
_index_box_clear(obj, wd->bx[wd->level], wd->level);
return;
}
it = _item_new(obj, letter, item);
+ if (!it) return;
+
it_rel = _item_find(obj, relative);
if (!it_rel)
{
wd->tot_items_count[wd->level]++;
return;
}
- if (!it) return;
+
wd->items = eina_list_prepend_relative(wd->items, it, it_rel);
wd->tot_items_count[wd->level]++;
_index_box_clear(obj, wd->bx[wd->level], wd->level);
if (!wd) return;
evas_object_color_set(wd->bg, r, g, b, a);
- if (!wd) return;
_elm_dangerous_call_check(__FUNCTION__);
if (wd->bgcolor == EINA_FALSE)
{