On Mon, Jul 27, 2009 at 02:44:40PM +0100, Grzegorz Jaśkiewicz wrote:
> 2009/7/27 Daniel Veillard <[email protected]>:
> >
> >  Sorry I don't have time to debug your code. But basically it's a tree
> > If you remove/replace parts of the tree with something else, sure you
> > have to free up the unlinked parts !
> 
> another thing. I know that the version I am running is a bit oldish,
> but all leaks shown by valgrind are in xmlParseFile(), which has
> nothing to do with DocRootSet.

  No that's where node were allocated i.e. when parsing the tree if then
you remove some of the tree pointers then valgrind will report where
this was allocated not where the bug occured. Your code is wrong !
If not reproduce the leak with xmllint and then I will look at it.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
[email protected]  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to