Author: samisa
Date: Mon May 28 01:44:37 2007
New Revision: 542154

URL: http://svn.apache.org/viewvc?view=rev&rev=542154
Log:
Fixed some memory leaks

Modified:
    webservices/axis2/trunk/c/src/core/description/msg.c
    webservices/axis2/trunk/c/src/core/description/svc.c
    webservices/axis2/trunk/c/src/core/description/svc_grp.c

Modified: webservices/axis2/trunk/c/src/core/description/msg.c
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/description/msg.c?view=diff&rev=542154&r1=542153&r2=542154
==============================================================================
--- webservices/axis2/trunk/c/src/core/description/msg.c (original)
+++ webservices/axis2/trunk/c/src/core/description/msg.c Mon May 28 01:44:37 
2007
@@ -115,6 +115,11 @@
         axutil_param_container_free(msg->param_container, env);
     }
 
+    if (msg->base)
+    {
+        axis2_desc_free(msg->base, env);
+    }
+    
     msg->parent = NULL;
 
     if (msg)

Modified: webservices/axis2/trunk/c/src/core/description/svc.c
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/description/svc.c?view=diff&rev=542154&r1=542153&r2=542154
==============================================================================
--- webservices/axis2/trunk/c/src/core/description/svc.c (original)
+++ webservices/axis2/trunk/c/src/core/description/svc.c Mon May 28 01:44:37 
2007
@@ -389,6 +389,11 @@
     {
         AXIS2_FREE(env->allocator, svc->style);
     }
+    
+    if (svc->base)
+    {
+        axis2_desc_free(svc->base, env);
+    }
 
     if (svc)
     {

Modified: webservices/axis2/trunk/c/src/core/description/svc_grp.c
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/description/svc_grp.c?view=diff&rev=542154&r1=542153&r2=542154
==============================================================================
--- webservices/axis2/trunk/c/src/core/description/svc_grp.c (original)
+++ webservices/axis2/trunk/c/src/core/description/svc_grp.c Mon May 28 
01:44:37 2007
@@ -157,6 +157,11 @@
         axutil_array_list_free(svc_grp->module_list, env);
     }
 
+    if (svc_grp->base)
+    {
+        axis2_desc_free(svc_grp->base, env);
+    }
+
     if (svc_grp)
     {
         AXIS2_FREE(env->allocator, svc_grp);



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to