changeset 12288:cc81de55245f

istream-concat: Fixed another memory leak.
author Timo Sirainen <tss@iki.fi>
date Sat, 16 Oct 2010 00:23:20 +0100
parents d44e64390bdd
children 092d5ba2dcfa
files src/lib/istream-concat.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }