diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/transport/http/receiver/http_svr_thread.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/transport/http/receiver/http_svr_thread.c b/src/core/transport/http/receiver/http_svr_thread.c index 1806815..67f95de 100644 --- a/src/core/transport/http/receiver/http_svr_thread.c +++ b/src/core/transport/http/receiver/http_svr_thread.c @@ -248,6 +248,11 @@ axis2_svr_thread_worker_func( if(!svr_conn) { AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "creating simple_http_svr_connection failed"); + axutil_free_thread_env(thread_env); + thread_env = NULL; + #ifdef AXIS2_SVR_MULTI_THREADED + axutil_thread_pool_exit_thread(env->thread_pool, thd); + #endif return NULL; } |