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 ji...@apache.org on 2004/04/15 17:39:43 UTC

[jira] Closed: (XERCESC-1195) XMLMacAbstractFile objects leak (from Bugzilla #28316)

Message:

   The following issue has been closed.

   Resolver: James Berry
       Date: Thu, 15 Apr 2004 8:38 AM

Patch is in cvs. Thanks to Alberto Massari.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1195

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1195
    Summary: XMLMacAbstractFile objects leak (from Bugzilla #28316)
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

    Project: Xerces-C++
 Components: 
             Utilities
   Versions:
             2.4.0

   Assignee: James Berry
   Reporter: Alberto Massari

    Created: Thu, 15 Apr 2004 5:44 AM
    Updated: Thu, 15 Apr 2004 8:38 AM
Environment: MacOS X

Description:
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.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org