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 sa...@apache.org on 2006/03/27 16:23:04 UTC
svn commit: r389153 -
/webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c
Author: samisa
Date: Mon Mar 27 06:23:00 2006
New Revision: 389153
URL: http://svn.apache.org/viewcvs?rev=389153&view=rev
Log:
Memory leak fix
Modified:
webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c
Modified: webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c?rev=389153&r1=389152&r2=389153&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c (original)
+++ webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c Mon Mar 27 06:23:00 2006
@@ -313,6 +313,11 @@
axis2_addr_in_extract_to_epr_ref_params(env, epr, soap_header, addr_ns_str);
AXIS2_SOAP_HEADER_BLOCK_SET_PRECESSED(header_block, env);
+ if (epr)
+ {
+ AXIS2_ENDPOINT_REF_FREE(epr, env);
+ epr = NULL;
+ }
}
else if(AXIS2_STRCMP(ele_localname, AXIS2_WSA_FROM) == 0)
{