On Tue, 22 Feb 2011 18:59:07 +0900 Seunggyun Kim <[email protected]> said:

in svn! thanks!

> Hello. All.
> 
> I found one bug in elm_genlist_clear.
> 
> In case append lots of items in genlist,
> some items are still in genlist item queue before it is processed in
> _item_queue.
> 
> At that time, 
> if application calls elm_genlist_item_del api that has item in genlist queue
> and elm_genlist_clear is called at once, "func.del" callback is called
> twice.
> 
> If application frees some memory in "func.del" callback, It occurs double
> free memory problem.
> 
> For example, some application has many items. and all items are deleted. but
> all items are not proceed in queue. then application is terminated.
> In that case, double free problem is occured in application.
> 
> So, I fixed elm_genlist_clear code and made a patch.
> 
> Anybody can check about this? 
> 
> Thanks.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to