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=7164>.
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=7164

DOMParser with a DTD leak!





------- Additional Comments From [EMAIL PROTECTED]  2002-03-18 15:56 
-------
Ok, i've taken some time to check it out and found out that it seems that the 
bug 812 wasn't properly corrected...

look for line 1080 in DOMParser.cpp...

it should be

EntityImpl *previousElem = (EntityImpl *)
        fDocumentType->entities->setNamedItem( elem ); 

instead of              

ElementImpl *previousElem = (ElementImpl *)
        fDocumentType->getElements()->setNamedItem( elem );

I'have changed it and it seems it has corrected the leak. maybe you should 
arrange that for the next release.

Note: I think there's still a very small leak.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to