You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Imran A R (RBIN/EDM1) *" <Im...@in.bosch.com> on 2004/05/19 08:23:10 UTC
Does it Memory Leak
IN my local function , am doing
DOMElement* lname = NULL;
lname = m_pDOMDocument->createElement(c_ElementName);
and i returns the lname , does it leaks any memory
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: Does it Memory Leak
Posted by Gareth Reakes <ga...@parthenoncomputing.com>.
Hi,
no it does not. The internal memory structure of xerces is such
that this may appear to be the case. When you delete the document he
memory will be reclaimed. Search in the archives for more information.
Gareth
On Wed, 19 May 2004, Imran A R (RBIN/EDM1) * wrote:
>
>
> IN my local function , am doing
>
> DOMElement* lname = NULL;
> lname = m_pDOMDocument->createElement(c_ElementName);
>
> and i returns the lname , does it leaks any memory
>
> Thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org