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/02/27 09:17:46 UTC

svn commit: r381287 - in /webservices/axis2/trunk/c/modules/core/engine: req_uri_disp.c soap_body_disp.c

Author: samisa
Date: Mon Feb 27 00:17:45 2006
New Revision: 381287

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

Modified:
    webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c
    webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c

Modified: webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c?rev=381287&r1=381286&r2=381287&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c Mon Feb 27 00:17:45 2006
@@ -122,6 +122,8 @@
                         }
                     }                    
                 }
+                AXIS2_FREE((*env)->allocator, url_tokens);
+                url_tokens = NULL;
             }
         }
     }

Modified: webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c?rev=381287&r1=381286&r2=381287&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c Mon Feb 27 00:17:45 2006
@@ -137,6 +137,9 @@
                                                 }
                                             }                    
                                         }
+
+                                        AXIS2_FREE((*env)->allocator, url_tokens);
+                                        url_tokens = NULL;
                                     }
                                 }
                             }