You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/08/16 12:53:20 UTC

[jira] Updated: (AXISCPP-60) AxisConfig Memory leaks - patch

The following issue has been updated:

    Updater: Samisa Abeysinghe (mailto:samisa_abeysinghe@yahoo.com)
       Date: Mon, 16 Aug 2004 3:52 AM
    Changes:
             Attachment changed from AxisConfig.cpp.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXISCPP-60?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-60

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-60
    Summary: AxisConfig Memory leaks - patch
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++

   Assignee: 
   Reporter: Sevwandi Abeysinghe

    Created: Mon, 26 Apr 2004 12:36 AM
    Updated: Mon, 16 Aug 2004 3:52 AM
Environment: All platforms

Description:
If I am to detail a bit about this patch...
    One C++ best practice is to match malloc() with free() and new with delete. Please do not mix malloc() and delete.
    In AxisConfig.cpp, the opened file is never closed. Also the variable 'key' is malloc()ed but never freed. 

The patch fix those problems.



---------------------------------------------------------------------
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