You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Stanisław Findeisen <st...@gemius.pl> on 2010/07/27 10:46:47 UTC

DOMImplementationLS::createDOMWriter

http://xerces.apache.org/xerces-c/apiDocs-2/classDOMImplementationLS.html#9ca56e17b9295c1ec52512c75557f799

virtual DOMWriter* DOMImplementationLS::createDOMWriter(MemoryManager *const manager = XMLPlatformUtils::fgMemoryManager) =0

Is the caller supposed to delete the writer?

Thanks!

STF

AW: DOMImplementationLS::createDOMWriter

Posted by Je...@t-systems.com.
You should call DOMWriter::release() instead of delete.
And as far as I understand, yes you are responsible for delteting the writer.

Regards,

jw

-----Ursprüngliche Nachricht-----
Von: Stanisław Findeisen [mailto:stanislaw.findeisen@gemius.pl] 
Gesendet: Dienstag, 27. Juli 2010 10:47
An: c-users@xerces.apache.org
Betreff: DOMImplementationLS::createDOMWriter

http://xerces.apache.org/xerces-c/apiDocs-2/classDOMImplementationLS.html#9ca56e17b9295c1ec52512c75557f799

virtual DOMWriter* DOMImplementationLS::createDOMWriter(MemoryManager *const manager = XMLPlatformUtils::fgMemoryManager) =0

Is the caller supposed to delete the writer?

Thanks!

STF