dovecot-2.0: istream-concat: Fixed a memory leak.

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 15 20:55:57 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/f48b52b9427e
changeset: 12281:f48b52b9427e
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Oct 15 18:55:52 2010 +0100
description:
istream-concat: Fixed a memory leak.

diffstat:

 src/lib/istream-concat.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r d2910cd43d1d -r f48b52b9427e src/lib/istream-concat.c
--- a/src/lib/istream-concat.c	Fri Oct 15 18:50:44 2010 +0100
+++ b/src/lib/istream-concat.c	Fri Oct 15 18:55:52 2010 +0100
@@ -31,6 +31,7 @@
 
 	for (i = 0; cstream->input[i] != NULL; i++)
 		i_stream_unref(&cstream->input[i]);
+	i_free(cstream->istream.w_buffer);
 }
 
 static void


More information about the dovecot-cvs mailing list