summaryrefslogtreecommitdiffstats
path: root/xlators/debug/io-stats
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/debug/io-stats')
-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 ac99f98d853..d9d1e1dff10 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -3663,6 +3663,7 @@ ios_destroy_top_stats (struct ios_conf *conf)
GF_FREE (list);
list_head->members--;
}
+ GF_FREE (list_head->iosstats);
}
for (i = 0; i < IOS_STATS_THRU_MAX; i++) {
@@ -3678,6 +3679,7 @@ ios_destroy_top_stats (struct ios_conf *conf)
GF_FREE (list);
list_head->members--;
}
+ GF_FREE (list_head->iosstats);
}
UNLOCK (&conf->lock);
@@ -3880,7 +3882,9 @@ ios_conf_destroy (struct ios_conf *conf)
ios_destroy_top_stats (conf);
_ios_destroy_dump_thread (conf);
+ ios_destroy_sample_buf (conf->ios_sample_buf);
LOCK_DESTROY (&conf->lock);
+ GF_FREE(conf->dnscache);
GF_FREE(conf);
}