From 18a85fe6022083ad8ea7adf611aa0f179a91a986 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Tue, 21 Aug 2018 14:25:52 +0200 Subject: [PATCH] BUG/MEDIUM: streams: Don't forget to remove the si from the wait list. When freeing the stream, make sure we remove the stream interfaces from the wait lists, in case it was in there. This is 1.9-specific, no backport is needed. --- src/stream.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stream.c b/src/stream.c index bc0f1ac708..0f2ccf010d 100644 --- a/src/stream.c +++ b/src/stream.c @@ -409,7 +409,9 @@ static void stream_free(struct stream *s) session_free(sess); tasklet_free(s->si[0].wait_list.task); + LIST_DEL(&s->si[0].wait_list.list); tasklet_free(s->si[1].wait_list.task); + LIST_DEL(&s->si[1].wait_list.list); pool_free(pool_head_stream, s); /* We may want to free the maximum amount of pools if the proxy is stopping */ -- 2.39.5