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=26607>. 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=26607 DOMElement::setIdAttribute*() memory leak Summary: DOMElement::setIdAttribute*() memory leak Product: Xerces-C++ Version: 2.4.0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] DOMElement::setIdAttribute*() leaks when repeatedly called for an attribute that is already set as an ID. More specifically, DOMAttrImpl::addAttrToIDNodeMap() adds the attribute to the DOMNodeIDMap whether or not it is already there. The fix is: File: src/xercesc/dom/impl/DOMAttrImpl.hpp Function: inline void DOMAttrImpl::addAttrToIDNodeMap() Insert at the start of the function: if (fNode.isIdAttr()) return; -- merlin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]