elementary/genlist - [E-devel] [Patch][Genlist] removed unnecessary code in _clear_cb

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

Submitted-By-Off ChankWook Jung<jchanwook@gmail.com>



SVN revision: 69929
This commit is contained in:
ChunEon Park 2012-04-05 08:19:26 +00:00
parent 3a9a0cb9d5
commit 363a5fa126
1 changed files with 0 additions and 8 deletions

View File

@ -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);