summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
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");