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 di...@apache.org on 2007/11/27 08:25:43 UTC
svn commit: r598540 -
/webservices/axis2/trunk/c/src/core/deployment/conf_init.c
Author: dinesh
Date: Mon Nov 26 23:25:42 2007
New Revision: 598540
URL: http://svn.apache.org/viewvc?rev=598540&view=rev
Log:
free dep_engine upon failure, thanks Bill for pointing this out
Modified:
webservices/axis2/trunk/c/src/core/deployment/conf_init.c
Modified: webservices/axis2/trunk/c/src/core/deployment/conf_init.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/deployment/conf_init.c?rev=598540&r1=598539&r2=598540&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/deployment/conf_init.c (original)
+++ webservices/axis2/trunk/c/src/core/deployment/conf_init.c Mon Nov 26 23:25:42 2007
@@ -130,6 +130,7 @@
{
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
"dep engine load failed. conf value is NULL");
+ axis2_dep_engine_free(dep_engine, env);
return NULL;
}
@@ -226,6 +227,7 @@
{
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
"dep engine load failed. conf value is NULL");
+ axis2_dep_engine_free(dep_engine, env);
return NULL;
}
axis2_conf_set_dep_engine(conf, env, dep_engine);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org