From: Olivier Houchard Date: Tue, 21 Aug 2018 12:25:52 +0000 (+0200) Subject: BUG/MEDIUM: streams: Don't forget to remove the si from the wait list. X-Git-Tag: v1.9-dev2~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18a85fe;p=thirdparty%2Fhaproxy.git 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. --- 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 */