DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28316>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28316

XMLMacAbstractFile objects leak

           Summary: XMLMacAbstractFile objects leak
           Product: Xerces-C++
           Version: 2.4.0
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In util/Platforms/MacOS/MacOSPlatformUtils.cpp, objects of the class 
XMLMacAbstractFile are created whenever a file is opened, but are never 
deleted, causing a minor leak - 36 bytes each time.

This can be fixed by adding:

delete reinterpret_cast<XMLMacAbstractFile*>(theFile);

as the last line of the closeFile method.

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

Reply via email to