diff --git a/src/session.c b/src/session.c index 29f92438b..807af2e40 100644 --- a/src/session.c +++ b/src/session.c @@ -88,6 +88,7 @@ void session_free(struct session *sess) conn_full_close(conn); conn_free(conn); } + LIST_DEL(&sess->conn_list); pool_free(pool_head_session, sess); HA_ATOMIC_SUB(&jobs, 1); }