MINOR: mux-h1: Don't release the conn_stream anymore when h1s is destroyed
An H1 stream is destroyed when the conn_stream is detached or when the H1
connection is destroyed. In the first case, the CS is released by the caller. In
the second one, because the connection is closed, no CS is attached anymore. In
both, there is no reason to release the conn_stream in h1s_destroy().
diff --git a/src/mux_h1.c b/src/mux_h1.c
index 08dd0ba..30bb5f7 100644
--- a/src/mux_h1.c
+++ b/src/mux_h1.c
@@ -341,8 +341,6 @@
h1c->flags |= H1C_F_WAIT_NEXT_REQ;
if (h1s->flags & (H1S_F_REQ_ERROR|H1S_F_RES_ERROR))
h1c->flags |= H1C_F_CS_ERROR;
-
- cs_free(h1s->cs);
pool_free(pool_head_h1s, h1s);
}
}