dovecot-2.1: stats plugin: Fixed memory leak.

dovecot at dovecot.org dovecot at dovecot.org
Sat Apr 20 20:58:37 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.1/rev/143bd7f3d4a2
changeset: 14956:143bd7f3d4a2
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Apr 20 20:58:06 2013 +0300
description:
stats plugin: Fixed memory leak.

diffstat:

 src/plugins/stats/stats-plugin.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r b63f87ed9311 -r 143bd7f3d4a2 src/plugins/stats/stats-plugin.c
--- a/src/plugins/stats/stats-plugin.c	Wed Apr 10 22:11:33 2013 +0300
+++ b/src/plugins/stats/stats-plugin.c	Sat Apr 20 20:58:06 2013 +0300
@@ -388,6 +388,7 @@
 
 	trans_stats_add(&suser->session_stats.trans_stats,
 			&strans->trans->stats);
+	i_free(strans);
 }
 
 static int


More information about the dovecot-cvs mailing list