ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r388109 - in /webservices/axis2/trunk/c/modules: core/description/op.c mod_addr/addr_out_handler.c wsdl/wsdl_svc.c
Date Thu, 23 Mar 2006 08:34:35 GMT
Author: sahan
Date: Thu Mar 23 00:34:33 2006
New Revision: 388109

URL: http://svn.apache.org/viewcvs?rev=388109&view=rev
Log:
More mem leak fixes

Modified:
    webservices/axis2/trunk/c/modules/core/description/op.c
    webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c
    webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c

Modified: webservices/axis2/trunk/c/modules/core/description/op.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/op.c?rev=388109&r1=388108&r2=388109&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/op.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/op.c Thu Mar 23 00:34:33 2006
@@ -1288,7 +1288,7 @@
             }
                
         }
-        AXIS2_WSDL_OP_FREE(op_impl->phases_in_fault_flow, env);
+        AXIS2_ARRAY_LIST_FREE(op_impl->phases_in_fault_flow, env);
         op_impl->phases_in_fault_flow = NULL;
     }
     
@@ -1322,7 +1322,7 @@
                 phase = NULL;
             } 
         }
-        AXIS2_WSDL_OP_FREE(op_impl->phases_out_fault_flow, env);
+        AXIS2_ARRAY_LIST_FREE(op_impl->phases_out_fault_flow, env);
         op_impl->phases_out_fault_flow = NULL;
     }
     
@@ -1356,7 +1356,7 @@
                 phase = NULL;
             }
         }
-        AXIS2_WSDL_OP_FREE(op_impl->phases_outflow, env);
+        AXIS2_ARRAY_LIST_FREE(op_impl->phases_outflow, env);
         op_impl->phases_outflow = NULL;
     }
     

Modified: webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.c?rev=388109&r1=388108&r2=388109&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 Thu Mar 23 00:34:33 2006
@@ -115,6 +115,8 @@
     if (handler->ops)
         handler->ops->invoke = axis2_addr_out_handler_invoke;
 
+    AXIS2_QNAME_FREE(handler_qname, env);
+
     return handler;
 }
 

Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c?rev=388109&r1=388108&r2=388109&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c Thu Mar 23 00:34:33 2006
@@ -196,6 +196,12 @@
         AXIS2_WSDL_INTERFACE_FREE(wsdl_svc_impl->svc_interface, env);
         wsdl_svc_impl->svc_interface = NULL;
     }
+
+    if(NULL != AXIS2_INTF_TO_IMPL(wsdl_svc)->qname)
+    {
+        AXIS2_QNAME_FREE(AXIS2_INTF_TO_IMPL(wsdl_svc)->qname, env);
+        AXIS2_INTF_TO_IMPL(wsdl_svc)->qname = NULL;
+    }
     
     if(wsdl_svc->ops)
     {
@@ -232,6 +238,11 @@
     if(NULL == svc_name)
     {
         return AXIS2_FAILURE;
+    }
+    if(NULL != AXIS2_INTF_TO_IMPL(wsdl_svc)->qname)
+    {
+        AXIS2_QNAME_FREE(AXIS2_INTF_TO_IMPL(wsdl_svc)->qname, env);
+        AXIS2_INTF_TO_IMPL(wsdl_svc)->qname = NULL;
     }
     
     AXIS2_INTF_TO_IMPL(wsdl_svc)->qname = svc_name;



Mime
View raw message