summaryrefslogtreecommitdiffstats
path: root/xlators/performance
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-05-21 01:37:05 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-05-21 02:58:22 -0700
commitc7fd9f1df36a01ac9a1509d1001b0d259005b0f9 (patch)
tree4ed27b1cddb973536313fc1817dd32828a37c87f /xlators/performance
parentef7fcc0d7c2695ab3b10477b3e1290e43831da99 (diff)
mem-pool,io-threads: Destroy mem-pool on deallocation
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/performance')
-rw-r--r--xlators/performance/io-threads/src/io-threads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c
index 3136c9c1a..f16833609 100644
--- a/xlators/performance/io-threads/src/io-threads.c
+++ b/xlators/performance/io-threads/src/io-threads.c
@@ -2563,6 +2563,7 @@ deallocate_workers (iot_worker_t **workers,
end_count = count + start_alloc_idx;
for (i = start_alloc_idx; (i < end_count); i++) {
if (workers[i] != NULL) {
+ mem_pool_destroy (workers[i]->req_pool);
FREE (workers[i]);
workers[i] = NULL;
}