Author: manjula
Date: Tue May 20 07:17:17 2008
New Revision: 658257
URL: http://svn.apache.org/viewvc?rev=658257&view=rev
Log:
Fixing Axis2C- 1079.
Modified:
webservices/sandesha/trunk/c/src/workers/sender.c
Modified: webservices/sandesha/trunk/c/src/workers/sender.c
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/workers/sender.c?rev=658257&r1=658256&r2=658257&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/workers/sender.c (original)
+++ webservices/sandesha/trunk/c/src/workers/sender.c Tue May 20 07:17:17 2008
@@ -84,6 +84,7 @@
args->conf_ctx = conf_ctx;
args->seq_id = seq_id;
args->persistent_msg_ctx = persistent_msg_ctx;
+ ++(env->allocator->ref_pool_allocator);
worker_thread = axutil_thread_pool_get_thread(env->thread_pool,
sandesha2_sender_worker_func, (void*)args);
@@ -193,6 +194,12 @@
AXIS2_LOG_TRACE(env->log, AXIS2_LOG_SI,
"[sandesha2]Exit:sandesha2_sender_worker_func");
axutil_allocator_switch_to_local_pool(env->allocator);
+
+ if(env->allocator->pool_allocator)
+ {
+ AXIS2_POOL_ALLOCATOR_DESTROY(env->allocator);
+ }
+
return NULL;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]