xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tinny Ng <tng-...@ca.ibm.com>
Subject Re: delete[] problems with transcode
Date Thu, 01 Nov 2001 21:48:19 GMT
"Christy, Rich" wrote:

> However, I do see several references to possible
> leaks in IDeepNodeListPool within calls to IDOM_NodeList
> getElementsByTagName().  Any ideas?
> Thanks
> Rich

I just looked into the code again, I think there is a small leak on the pool
instance.  Anyway, I just checked in the fix, and here is the diff if you want
to test out the fix:

cvs diff IDDocumentImpl.cpp (in directory D:\cvswork\xml-xerces\c\src\idom)
Index: IDDocumentImpl.cpp
RCS file: /home/cvs/xml-xerces/c/src/idom/IDDocumentImpl.cpp,v
retrieving revision 1.11
diff -r1.11 IDDocumentImpl.cpp
<         fNodeListPool = new IDDeepNodeListPool<IDDeepNodeListImpl>(109,
>         fNodeListPool = new (this) IDDeepNodeListPool<IDDeepNodeListImpl>(109,


To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

View raw message