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.
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 */