[Expat-discuss] Question with memory

Karl Waclawek karl at waclawek.net
Thu Apr 17 11:41:37 EDT 2003


> Karl - Thanks for your reply. -Praveen

I should add that there is one exception where Expat allocates a buffer
and the application has to free it. When an element declaration handler 
(set with XML_SetElementDeclHandler) returns a content model, then it is
the programmer's responsibility to free that content model using XML_FreeContentModel.

Karl




More information about the Expat-discuss mailing list