diff options
-rw-r--r-- | xlators/performance/io-cache/src/io-cache.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.c b/xlators/performance/io-cache/src/io-cache.c index 9466d2993..96aa8fdef 100644 --- a/xlators/performance/io-cache/src/io-cache.c +++ b/xlators/performance/io-cache/src/io-cache.c @@ -1469,6 +1469,11 @@ fini (xlator_t *this) if (table == NULL) return; + if (table->mem_pool != NULL) { + mem_pool_destroy (table->mem_pool); + table->mem_pool = NULL; + } + pthread_mutex_destroy (&table->table_lock); FREE (table); |