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 na...@apache.org on 2006/05/04 07:53:26 UTC

svn commit: r399560 - /webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c

Author: nandika
Date: Wed May  3 22:53:24 2006
New Revision: 399560

URL: http://svn.apache.org/viewcvs?rev=399560&view=rev
Log:
fixed the service crash

Modified:
    webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c

Modified: webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c?rev=399560&r1=399559&r2=399560&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/msg_recv.c Wed May  3 22:53:24 2006
@@ -398,12 +398,14 @@
     op_ctx = AXIS2_MSG_CTX_GET_OP_CTX(out_msg_ctx, env);
     if(!op_ctx)
     {
+        axis2_core_utils_reset_out_msg_ctx(env, out_msg_ctx);
         AXIS2_MSG_CTX_FREE(out_msg_ctx, env);
         return AXIS2_FAILURE;
     }
     status = AXIS2_OP_CTX_ADD_MSG_CTX(op_ctx, env, out_msg_ctx);
     if(AXIS2_SUCCESS != status)
     {
+        axis2_core_utils_reset_out_msg_ctx(env, out_msg_ctx);
         AXIS2_MSG_CTX_FREE(out_msg_ctx, env);
         return status;
     }
@@ -411,6 +413,7 @@
         msg_ctx, out_msg_ctx);
     if(AXIS2_SUCCESS != status)
     {
+        axis2_core_utils_reset_out_msg_ctx(env, out_msg_ctx);
         AXIS2_MSG_CTX_FREE(out_msg_ctx, env);
         return status;
     }