From: Timo Sirainen Date: Fri, 27 Oct 2017 23:35:58 +0000 (+0300) Subject: lib: ostream-multiplex - Don't close parent streams at destroy X-Git-Tag: 2.3.0.rc1~702 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=de535bbd17564819b51241b71dae796093cbbabb;p=thirdparty%2Fdovecot%2Fcore.git lib: ostream-multiplex - Don't close parent streams at destroy The close() method is already called as needed. --- diff --git a/src/lib/ostream-multiplex.c b/src/lib/ostream-multiplex.c index 6789391979..77b90f9399 100644 --- a/src/lib/ostream-multiplex.c +++ b/src/lib/ostream-multiplex.c @@ -159,7 +159,6 @@ static void o_stream_multiplex_ochannel_destroy(struct iostream_private *stream) { struct multiplex_ochannel **channelp; struct multiplex_ochannel *channel = (struct multiplex_ochannel*)stream; - o_stream_multiplex_ochannel_close(stream, TRUE); o_stream_unref(&channel->ostream.parent); if (channel->buf != NULL) buffer_free(&channel->buf);