Re: [xml] Question about xmlCleanupParser()

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

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


Red Hat Virtualization group
Daniel Veillard      | virtualization library
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]