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

dovecot at dovecot.org dovecot at dovecot.org
Sat Oct 16 02:23:24 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/cc81de55245f
changeset: 12288:cc81de55245f
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Oct 16 00:23:20 2010 +0100
description:
istream-concat: Fixed another memory leak.

diffstat:

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

diffs (12 lines):

diff -r d44e64390bdd -r cc81de55245f src/lib/istream-concat.c
--- a/src/lib/istream-concat.c	Sat Oct 16 00:21:35 2010 +0100
+++ b/src/lib/istream-concat.c	Sat Oct 16 00:23:20 2010 +0100
@@ -31,6 +31,8 @@
 
 	for (i = 0; cstream->input[i] != NULL; i++)
 		i_stream_unref(&cstream->input[i]);
+	i_free(cstream->input);
+	i_free(cstream->input_size);
 	i_free(cstream->istream.w_buffer);
 }
 


More information about the dovecot-cvs mailing list