summaryrefslogtreecommitdiffstats
path: root/xlators/debug
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/debug')
-rw-r--r--xlators/debug/io-stats/src/io-stats.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index e8733436466..2061d9bc9b1 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -1695,6 +1695,10 @@ fini (xlator_t *this)
conf = this->private;
+ if (!conf)
+ return;
+ this->private = NULL;
+
GF_FREE(conf);
gf_log (this->name, GF_LOG_NORMAL,