Every pointer that is returned is owned by the document. You shouldn't
deallocate them.

regards
/Erik

-----Original Message-----
From: Colin Paul Adams [mailto:[EMAIL PROTECTED]
Sent: den 2 juni 2003 16:52
To: [EMAIL PROTECTED]
Subject: Ownership of const XMLCh *


When a method such as DOMNode::getLocalName() returns a const XMLCh *,
is the user responsible for deallocating the memory pointed to by the
pointer, or is it owned by the DOMImplementation?
--
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to