summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-05-18 03:41:38 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-21 00:32:12 -0700
commit719354ddbd6b68f2b1df6d03e70683a65daf1eb0 (patch)
tree78a10630f10382995831e6d4e0c67fbbc090633d /xlators
parent174f26f113a7a361a9aa5c959310fcc3867e0dc6 (diff)
free this->private in fini in io-stats
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 930 (conf not freed in io-stats fini) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=930
Diffstat (limited to 'xlators')
-rw-r--r--xlators/debug/io-stats/src/io-stats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index d70244472..f5787a710 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -1471,6 +1471,8 @@ fini (xlator_t *this)
conf = this->private;
+ GF_FREE(conf);
+
gf_log (this->name, GF_LOG_NORMAL,
"io-stats translator unloaded");
return;