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/11/13 01:09:17 UTC
svn commit: r474104 - /webservices/axis2/trunk/c/modules/core/engine/conf.c
Author: samisa
Date: Sun Nov 12 16:09:16 2006
New Revision: 474104
URL: http://svn.apache.org/viewvc?view=rev&rev=474104
Log:
Fixed leaks in case of errors
Modified:
webservices/axis2/trunk/c/modules/core/engine/conf.c
Modified: webservices/axis2/trunk/c/modules/core/engine/conf.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/conf.c?view=diff&rev=474104&r1=474103&r2=474104
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/conf.c Sun Nov 12 16:09:16 2006
@@ -385,6 +385,9 @@
config_impl->dep_engine = NULL;
config_impl->all_modules = NULL;
config_impl->name_to_version_map = NULL;
+ config_impl->transports_in = NULL;
+ config_impl->transports_out = NULL;
+ config_impl->handlers = NULL;
config_impl->conf.ops = NULL;
config_impl->conf.param_container = (axis2_param_container_t *)
@@ -449,6 +452,7 @@
if (AXIS2_FAILURE == status)
{
axis2_conf_free(&(config_impl->conf), env);
+ AXIS2_PHASE_FREE(phase, env);
return NULL;
}
@@ -463,6 +467,7 @@
if (AXIS2_FAILURE == status)
{
axis2_conf_free(&(config_impl->conf), env);
+ AXIS2_PHASE_FREE(phase, env);
return NULL;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org