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/23 09:31:00 UTC
svn commit: r388107 - in /webservices/axis2/trunk/c/modules:
core/description/op.c mod_addr/addr_out_handler.c
Author: samisa
Date: Thu Mar 23 00:30:58 2006
New Revision: 388107
URL: http://svn.apache.org/viewcvs?rev=388107&view=rev
Log:
Fixed the memory leak due to unwanted dec init
Modified:
webservices/axis2/trunk/c/modules/core/description/op.c
webservices/axis2/trunk/c/modules/mod_addr/addr_out_handler.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=388107&r1=388106&r2=388107&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:30:58 2006
@@ -748,12 +748,6 @@
op_impl->wsdl_op = NULL;
}
- if(NULL != op->ops)
- {
- AXIS2_FREE((*env)->allocator, op->ops);
- op->ops = NULL;
- }
-
if (op_impl->op.base.ops)
{
AXIS2_FREE((*env)->allocator, op_impl->op.base.ops);
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=388107&r1=388106&r2=388107&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:30:58 2006
@@ -102,14 +102,14 @@
}
/* handler desc of base handler */
- handler_desc = axis2_handler_desc_create_with_qname (env, handler_qname);
+ /*handler_desc = axis2_handler_desc_create_with_qname (env, handler_qname);
if (!handler_desc)
{
AXIS2_HANDLER_FREE (handler, env);
return NULL;
}
- AXIS2_HANDLER_INIT (handler, env, handler_desc);
+ AXIS2_HANDLER_INIT (handler, env, handler_desc);*/
/* set the base struct's invoke op */
if (handler->ops)