From db92fe5c0af79fbc07d051a7cb544fc04981eedd Mon Sep 17 00:00:00 2001 From: damitha Date: Mon, 28 Jun 2010 05:07:28 +0000 Subject: Axis2c1470:- Applied the second modification suggested git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@958459 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/transport/http/receiver/http_svr_thread.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/transport') 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; } -- cgit v1.1-32-gdbae