Dear ALL,
If the block that must be removed/freed, it has already removed/freed in
_item_block_del.
So I removed the code in _clear_cb.
Thanks
Joey
Index: src/lib/elm_genlist.c
===================================================================
--- src/lib/elm_genlist.c (revision 69928)
+++ src/lib/elm_genlist.c (working copy)
@@ -882,14 +882,6 @@ static void
_clear_cb(Widget_Data *wd)
{
wd->anchor_item = NULL;
- while (wd->blocks)
- {
- Item_Block *itb = (Item_Block *)(wd->blocks);
-
- wd->blocks = eina_inlist_remove(wd->blocks, wd->blocks);
- if (itb->items) eina_list_free(itb->items);
- free(itb);
- }
if (wd->queue_idle_enterer)
{
ecore_idle_enterer_del(wd->queue_idle_enterer);
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel