On Tuesday, November 16, 2010 06:52:14 am Dhaval Giani wrote: > >> > *At line 2749 is a return without freeing "entry". > > > > This one is at 2844 > > So I am missing something here. It is correct not to free entry since > someone else is holding a reference to it. So I don't think this is a > bug.
At line 2822 is a call to calloc. entry->fts is used in a couple places, but I don't see anything like a linked list that takes custody of the memory. Then at 2844 is a return that does not free it. However, if everything was successful, then entry is assigned to handle at 2851 so that the caller takes custody of the memory. My guess is that either the error path should assign the memory to handle or (more likely) it should free the memory. -Steve ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
