Re: [xml] Question about xmlCleanupParser()

On Tue, Sep 19, 2006 at 04:58:43PM +0200, Unai Astorquiza wrote:
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

As I don´t know who is going to use my library and how (wheter the process will be using libxml by his own 
or not), if one process loads, uses and unloads my library several times, the memory leak would be 

 no, it should not.


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]