Re: [xml] Only through experimentation :o) XML and memory

On Tue, Nov 30, 2004 at 08:36:22PM +0000, Jose Commins wrote:
allocated nodes.  I want to make sure my assumption is right, that 
'xmlFreeDoc' will also deallocate/free any new nodes linked in to the 

  xmlFreeDoc deallocate all nodes reachable from the document node !
It is what the doc says, it is what it does.

if you linked a node to the doc it will be freed, if you didn't link it
it won't be freed.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]