From de535bbd17564819b51241b71dae796093cbbabb Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 28 Oct 2017 02:35:58 +0300 Subject: [PATCH] lib: ostream-multiplex - Don't close parent streams at destroy The close() method is already called as needed. --- src/lib/ostream-multiplex.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.47.3