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 Jomy Yohannan <Jo...@siemens.com> on 2003/05/21 13:06:51 UTC
Help on DOMNode* release..
Hi,
I am new to Xerces and XML. Can anyone of you help me in knowing how to
release a DOMNode*. Are there any known instances of memory leaks. I am
using the xerces C++ libraries and my application works on Win2k.
Warm Regards,
Jomy
Jomy Yohannan
Executive - Software Development
Siemens Communication Software
10th Floor, Raheja Towers
26/27 M. G. Road
Bangalore - 1
mailto:jomy.yohannan@siemens.com <ma...@siemens.com>
Tel (Off) - +91-80-5062000 Ext : 2415
RE: Help on DOMNode* release..
Posted by Erik Rydgren <er...@mandarinen.se>.
You never have to release a DOMNode. It belongs to the DOMDocument and the
document is responsible for memory allocation/deallocation. As long as you
delete all documents you have created then you'll be fine. Btw, a parsed
DOMDocument is owned and deleted by the parser unless you adopt it.
Regards
Erik Rydgren
Mandarinen systems AB
Sweden
-----Original Message-----
From: Jomy Yohannan [mailto:Jomy.Yohannan@siemens.com]
Sent: den 21 maj 2003 13:07
To: 'xerces-c-dev@xml.apache.org'
Subject: Help on DOMNode* release..
Hi,
I am new to Xerces and XML. Can anyone of you help me in knowing how to
release a DOMNode*. Are there any known instances of memory leaks. I am
using the xerces C++ libraries and my application works on Win2k.
Warm Regards,
Jomy
Jomy Yohannan
Executive - Software Development
Siemens Communication Software
10th Floor, Raheja Towers
26/27 M. G. Road
Bangalore - 1
mailto:jomy.yohannan@siemens.com
Tel (Off) - +91-80-5062000 Ext : 2415
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org