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 ji...@apache.org on 2004/04/26 09:39:54 UTC
[jira] Updated: (AXISCPP-60) AxisConfig Memory leaks - patch
The following issue has been updated:
Updater: Sevwandi Abeysinghe (mailto:asevwandi@yahoo.com)
Date: Mon, 26 Apr 2004 12:39 AM
Changes:
Attachment changed to 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++
Components:
Deployment / Registries
Versions:
1.1 Final
Assignee:
Reporter: Sevwandi Abeysinghe
Created: Mon, 26 Apr 2004 12:36 AM
Updated: Mon, 26 Apr 2004 12:39 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