You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/08/10 08:50:44 UTC
svn commit: r430286 -
/webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c
Author: damitha
Date: Wed Aug 9 23:50:44 2006
New Revision: 430286
URL: http://svn.apache.org/viewvc?rev=430286&view=rev
Log:
I removed the AXIS2_EPR_REF_FREE. Instead set the locally
created epr to msg_info_headers
Modified:
webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c
Modified: webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c?rev=430286&r1=430285&r2=430286&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c (original)
+++ webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c Wed Aug 9 23:50:44 2006
@@ -319,6 +319,8 @@
if (anonymous_uri)
epr = axis2_endpoint_ref_create (env, anonymous_uri);
+ if(epr)
+ AXIS2_MSG_INFO_HEADERS_SET_REPLY_TO(msg_info_headers, env, epr);
}
@@ -334,11 +336,14 @@
AXIS2_WSA_REPLY_TO,
soap_header, addr_ns);
- if(NULL != epr)
+ /* It is wrong freeing the epr here. Instead I set the locally
+ * created epr to msg_info_headers just after creating it
+ */
+ /*if(NULL != epr)
{
AXIS2_ENDPOINT_REF_FREE(epr, env);
epr = NULL;
- }
+ }*/
epr = AXIS2_MSG_INFO_HEADERS_GET_FROM (msg_info_headers, env);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org