DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23073>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23073 Memory leak in COM object xml4com when accessing "xml" property Summary: Memory leak in COM object xml4com when accessing "xml" property Product: Xerces-C++ Version: 2.3.0 Platform: PC OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Environment:Windows NT,2000 and higher, Version 2_3_0 There is a memory leak in xml4Com object when accessing xml property. I narrowed it down to the function GetXML from file XMLDomUtil.cpp. Buffer allocated by the xmlstream.SysAllocString is never released. Following is suggested fix: void GetXML(const DOM_Node &node, _bstr_t &text) { xmlstream stream; stream << node; text = _bstr_t(stream.SysAllocString(),false); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
