Re: [xml] gdome_di_createDocFromMemory Memory Leak
- From: "Himalay Gopu" <Himalay Gopu openwave com>
- To: "Himalay Gopu" <himalay gopu openwave com>, <veillard redhat com>
- Cc: xml gnome org
- Subject: Re: [xml] gdome_di_createDocFromMemory Memory Leak
- Date: Thu, 16 Nov 2006 08:22:46 -0800
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: 'veillard redhat com'
Cc: xml gnome org
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:veillard redhat com]
Sent: Thursday, November 16, 2006 10:03 AM
To: Himalay Gopu
Cc: xml gnome org
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/
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]