axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r534299 - /webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c
Date Wed, 02 May 2007 03:12:30 GMT
Author: samisa
Date: Tue May  1 20:12:29 2007
New Revision: 534299

URL: http://svn.apache.org/viewvc?view=rev&rev=534299
Log:
Fixed the segfault with dual clients

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c?view=diff&rev=534299&r1=534298&r2=534299
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c Tue May  1 20:12:29
2007
@@ -393,7 +393,7 @@
     {
         axis2_msg_ctx_t *out_msg_ctx = NULL, *in_msg_ctx = NULL;
         axis2_msg_ctx_t **msg_ctx_map = NULL;
-        axis2_char_t *msg_id = NULL;
+        const axis2_char_t *msg_id = NULL;
         axis2_conf_ctx_t *conf_ctx = NULL;
         msg_ctx_map =  axis2_op_ctx_get_msg_ctx_map(op_ctx, env);
 
@@ -423,8 +423,8 @@
             if (conf_ctx && msg_id)
             {
                 axis2_conf_ctx_register_op_ctx(conf_ctx, env, msg_id, NULL);
+                axis2_op_ctx_free(op_ctx, env);
             }
-            axis2_op_ctx_free(op_ctx, env);
         }
         
     } /* Done freeing message contexts */



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


Mime
View raw message