ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r389153 - /webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c
Date Mon, 27 Mar 2006 14:23:04 GMT
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)
         {



Mime
View raw message