From a582adf732d976e46eaad9def18f55dbec4d8674 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Sat, 4 Sep 2010 05:37:16 +0000 Subject: dont destroy the mempools in cleanup and exit as some other thread may be refering to it Signed-off-by: Raghavendra Bhat Signed-off-by: Vijay Bellur BUG: 1523 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1523 --- glusterfsd/src/glusterfsd.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index bce5bfd4ca5..e3a7a9d2aa6 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -637,7 +637,6 @@ static void cleanup_and_exit (int signum) { glusterfs_ctx_t *ctx = NULL; - call_pool_t *tmp_pool = NULL; xlator_t *trav = NULL; ctx = glusterfs_ctx_get (); @@ -666,11 +665,6 @@ cleanup_and_exit (int signum) trav = trav->next; } - tmp_pool = ctx->pool; - mem_pool_destroy (tmp_pool->frame_mem_pool); - mem_pool_destroy (tmp_pool->stack_mem_pool); - tmp_pool = NULL; - mem_pool_destroy (ctx->stub_mem_pool); glusterfs_pidfile_cleanup (ctx); -- cgit