You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/11/05 16:44:22 UTC
DO NOT REPLY [Bug 4644] New: -
Memory leak in schema traverser
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=4644>.
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=4644
Memory leak in schema traverser
Summary: Memory leak in schema traverser
Product: Xerces-C++
Version: 1.5.2
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Validating Parser (Schema) (Xerces 1.5 or up only)
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: rioux01@gel.ulaval.ca
In the file TraverseSchema.cpp,
QName* TraverseSchema::traverseElementDecl(const DOM_Element& elem, bool&
toDelete) method. After a while, substitution groups are handled. In this part
of the method, a pointer on a vector<SchemaElementDecl*> is declared. If it is
null, and the target namespace is not equal to the namespace of the subtitution
element, the subtitution elements are imported from another file. Then, a copy
is allocated(on line 2253 in my version) using the copy constructor. This
allocation is never deallocated and is not put in another structure...
Thanks, Francois
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org