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 "João M. S. Silva" <jo...@gmail.com> on 2019/12/10 17:41:59 UTC

How to free DOMNodeList

Hi,

From what the documentation says this is freed by the library, but
what about the use case in:

https://www.thecodingforums.com/threads/how-does-xerces-c-release-domnodelist-object.169698/

I use the same pattern and observe a memory leak.

How do I free the memory returned by getElementsByTagNameNS in every call?

Thanks.

João M. S. Silva