You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/03/24 07:18:07 UTC
svn commit: r388401 - in /webservices/axis2/trunk/c/modules/core/context:
conf_ctx.c op_ctx.c
Author: sahan
Date: Thu Mar 23 22:18:05 2006
New Revision: 388401
URL: http://svn.apache.org/viewcvs?rev=388401&view=rev
Log:
More leak fixes
Modified:
webservices/axis2/trunk/c/modules/core/context/conf_ctx.c
webservices/axis2/trunk/c/modules/core/context/op_ctx.c
Modified: webservices/axis2/trunk/c/modules/core/context/conf_ctx.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/conf_ctx.c?rev=388401&r1=388400&r2=388401&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/conf_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/conf_ctx.c Thu Mar 23 22:18:05 2006
@@ -531,6 +531,11 @@
AXIS2_CONF_FREE(conf_ctx_impl->conf, env);
conf_ctx_impl->conf = NULL;
}
+ if(conf_ctx_impl->mutex)
+ {
+ axis2_thread_mutex_destroy(conf_ctx_impl->mutex);
+ conf_ctx_impl->mutex = NULL;
+ }
AXIS2_FREE((*env)->allocator, conf_ctx_impl);
conf_ctx_impl = NULL;
Modified: webservices/axis2/trunk/c/modules/core/context/op_ctx.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/op_ctx.c?rev=388401&r1=388400&r2=388401&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/op_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/op_ctx.c Thu Mar 23 22:18:05 2006
@@ -206,6 +206,11 @@
axis2_hash_free(op_ctx_impl->msg_ctx_map, env);
op_ctx_impl->msg_ctx_map = NULL;
}
+ if(op_ctx_impl->mutex)
+ {
+ axis2_thread_mutex_destroy(op_ctx_impl->mutex);
+ op_ctx_impl->mutex = NULL;
+ }
AXIS2_FREE((*env)->allocator, op_ctx_impl);
op_ctx_impl = NULL;