summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorGravatar damitha2011-10-10 11:57:34 +0000
committerGravatar damitha2011-10-10 11:57:34 +0000
commite5d29aa4857ef113fc58f4407750b54bce07b39c (patch)
tree984c7272106abbb58879f48f12a3335f48ced0f9 /src/core
parent2bf4acce1aa1ca09e05cb5188c43443fec0ae47f (diff)
downloadaxis2c-e5d29aa4857ef113fc58f4407750b54bce07b39c.tar.gz
axis2c-e5d29aa4857ef113fc58f4407750b54bce07b39c.tar.bz2
Please refer to
https://issues.apache.org/jira/browse/AXIS2C-1563. Fixed that problem by freeing repository listner when service load failed git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1180892 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core')
-rw-r--r--src/core/deployment/repos_listener.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/deployment/repos_listener.c b/src/core/deployment/repos_listener.c
index 1df1325..1a7d790 100644
--- a/src/core/deployment/repos_listener.c
+++ b/src/core/deployment/repos_listener.c
@@ -129,6 +129,7 @@ axis2_repos_listener_create_with_folder_name_and_dep_engine(
status = axis2_repos_listener_init(repos_listener, env);
if(AXIS2_SUCCESS != status)
{
+ axis2_repos_listener_free(repos_listener, env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_REPOS_LISTENER_INIT_FAILED, AXIS2_FAILURE);
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Repository listener initialization failed");