From 719354ddbd6b68f2b1df6d03e70683a65daf1eb0 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Tue, 18 May 2010 03:41:38 +0000 Subject: free this->private in fini in io-stats Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 930 (conf not freed in io-stats fini) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=930 --- xlators/debug/io-stats/src/io-stats.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/debug') 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; -- cgit