From: Timo Sirainen Date: Fri, 15 Oct 2010 23:23:20 +0000 (+0100) Subject: istream-concat: Fixed another memory leak. X-Git-Tag: 2.0.6~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a0ac2e5ef482016e00575a7dce83f52c1704732;p=thirdparty%2Fdovecot%2Fcore.git istream-concat: Fixed another memory leak. --- diff --git a/src/lib/istream-concat.c b/src/lib/istream-concat.c index ab7425770e..40a0c71aec 100644 --- a/src/lib/istream-concat.c +++ b/src/lib/istream-concat.c @@ -31,6 +31,8 @@ static void i_stream_concat_destroy(struct iostream_private *stream) 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); }