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] Closed: (AXIS2C-1102) is_in_use property is not checked when freeing operation context
Date Wed, 04 Jun 2008 06:34:45 GMT

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

Damitha Kumarage closed AXIS2C-1102.
------------------------------------

    Resolution: Fixed

This is fixed

> is_in_use property is not checked when freeing operation context
> ----------------------------------------------------------------
>
>                 Key: AXIS2C-1102
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1102
>             Project: Axis2-C
>          Issue Type: Bug
>            Reporter: Damitha Kumarage
>            Assignee: Damitha Kumarage
>
> For operation context we can call axis2_op_ctx_set_in_use() function to tell the Axis2/C
not to free operation context at normal flow. This is used in Sandesha2/C module. However
as can be seen in the code for operation context, when it is freed it does not consider whether
this property is set or not. This need to be fixed as follows in axis2_op_ctx_free() function.
> In certain situations this could be more reliable than axis2_op_ctx_increment_ref() function
so I suggest implementing this.
>     if(op_ctx->is_in_use)
>     {
>         return;
>     }

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