I am a dummy in Gdome world

When we create xml document from memory using
gdome_di_createDocFromMemory

Do we have to free the memory of document using

gdome_doc_unref or 

gdome_di_freeDoc

I have tried both functions but still the memory leak exists

Can somebody please throw some light into this

Thanks
Himalay


-----Original Message-----
From: Himalay Gopu 
Sent: Thursday, November 16, 2006 10:18 AM
To: '[EMAIL PROTECTED]'
Cc: [email protected]
Subject: RE: [xml] gdome_di_createDocFromMemory Memory Leak

I free up the memory after the processing of the xml tags using

ddome_di_freeDoc (domimpl, response_document, &exception);

and doc implementation using

gdome_di_unref (domimpl, &exception);

in the same order

Is there anything wrong in this

Thanks
Himalay

-----Original Message-----
From: Daniel Veillard [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 10:03 AM
To: Himalay Gopu
Cc: [email protected]
Subject: Re: [xml] gdome_di_createDocFromMemory Memory Leak

On Thu, Nov 16, 2006 at 06:59:13AM -0800, Himalay Gopu wrote:
> Is this a BUG in memory management of gdome or libxml?

  No idea this list is about libxml2, and I see gdome code I don't know.
You don't seems to free the document, bit not knowing gdome no idea if
this is the reason...

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