dovecot-2.2: stats plugin: Fixed memory leak.

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


details:   http://hg.dovecot.org/dovecot-2.2/rev/cac2978505b8
changeset: 16304:cac2978505b8
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 46dc61f6acae -r cac2978505b8 src/plugins/stats/stats-plugin.c
--- a/src/plugins/stats/stats-plugin.c	Fri Apr 19 14:29:23 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