From e5d29aa4857ef113fc58f4407750b54bce07b39c Mon Sep 17 00:00:00 2001 From: damitha Date: Mon, 10 Oct 2011 11:57:34 +0000 Subject: 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 --- src/core/deployment/repos_listener.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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"); -- cgit v1.1-32-gdbae