axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damitha Kumarage (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2C-748) Memory leak in dep_engine.c
Date Wed, 14 Nov 2007 09:38:43 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Damitha Kumarage reassigned AXIS2C-748:
---------------------------------------

    Assignee: Damitha Kumarage

> Memory leak in dep_engine.c
> ---------------------------
>
>                 Key: AXIS2C-748
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-748
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/deployment
>         Environment: Ubuntu 7.04 (Feisty Fawn)
>            Reporter: Senaka Fernando
>            Assignee: Damitha Kumarage
>             Fix For: 1.2.0
>
>         Attachments: diff.txt
>
>
> When we load the dep_engine, we fetch the out-fault phases and assign them to the configuration.
During the fetching process a new array list is created. This contains the phases. However,
before assigning it, we have duplicated the array list and assigned the duplicate. And, during
the process we have not freed the initial (fetched) array list.
> While going through the code, I understood that a duplicate is not necessary as the fetching
process already creates a duplicate. Thus, I have removed the duplicate (new_out_fault_phases)
and assigned the array list that was fetched (out_fault_phases), to the configuration.
> This resolves the memory leak. (refer diff.txt)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message