summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-cache/src
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/io-cache/src')
-rw-r--r--xlators/performance/io-cache/src/io-cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.c b/xlators/performance/io-cache/src/io-cache.c
index ba170c338..c3f76b3bd 100644
--- a/xlators/performance/io-cache/src/io-cache.c
+++ b/xlators/performance/io-cache/src/io-cache.c
@@ -1198,6 +1198,9 @@ fini (xlator_t *this)
{
ioc_table_t *table = this->private;
+ if (table == NULL)
+ return;
+
pthread_mutex_destroy (&table->table_lock);
FREE (table);