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
> > library.
> 
> 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 cumulative?

 no, it should not.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to