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
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]