Re: [xml] Question about xmlCleanupParser()



On Tue, Sep 19, 2006 at 04:35:37PM +0200, Unai Astorquiza wrote:
Hi,

I'm having a crash when I call xmlCleanupParser() and I've some doubts about the use of this function.

I'm developing a library that loads and uses libxml, and I call xmlCleanupParser in the destructor/DllMain 
of the library, when I'm finished using it.

The question is: if someone uses my library and also uses libxml by his own in a process, my call to 
xmlCleanupParser would affect the other instance of libxml?

yes, so don't call it, at worse you will just lost a bit of data global to the
library.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



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