You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2007/01/11 07:36:56 UTC
svn commit: r495140 -
/webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
Author: samisa
Date: Wed Jan 10 22:36:56 2007
New Revision: 495140
URL: http://svn.apache.org/viewvc?view=rev&rev=495140
Log:
Removed strdup for paused pase name
Modified:
webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
Modified: webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/context/msg_ctx.c?view=diff&rev=495140&r1=495139&r2=495140
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/msg_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/msg_ctx.c Wed Jan 10 22:36:56 2007
@@ -307,11 +307,11 @@
msg_ctx->svc_ctx_id = NULL;
}
- if (msg_ctx->paused_phase_name)
+ /*if (msg_ctx->paused_phase_name)
{
AXIS2_FREE(env->allocator, msg_ctx->paused_phase_name);
msg_ctx->paused_phase_name = NULL;
- }
+ }*/
if (msg_ctx->soap_action)
{
@@ -1373,7 +1373,7 @@
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- if (msg_ctx->paused_phase_name)
+ /*if (msg_ctx->paused_phase_name)
{
AXIS2_FREE(env->allocator, msg_ctx->paused_phase_name);
msg_ctx->paused_phase_name = NULL;
@@ -1387,7 +1387,9 @@
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return AXIS2_FAILURE;
}
- }
+ }*/
+ /* a shallow copy is sufficient as phase lives beyond message */
+ msg_ctx->paused_phase_name = (axis2_char_t *)paused_phase_name;
return AXIS2_SUCCESS;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org