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 sa...@apache.org on 2006/03/27 16:37:35 UTC

svn commit: r389155 - /webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c

Author: samisa
Date: Mon Mar 27 06:37:33 2006
New Revision: 389155

URL: http://svn.apache.org/viewcvs?rev=389155&view=rev
Log:
It is a wrong fix, causes memoray leak

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=389155&r1=389154&r2=389155&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:37:33 2006
@@ -313,11 +313,6 @@
                 
                 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)
         {