mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-14 23:44:41 +00:00
BUG/MINOR: quic: Missing ACK range deallocations
free_quic_arngs() was implemented but not used. Let's call it from quic_conn_release().
This commit is contained in:
parent
96fd1633e1
commit
64670884ba
@ -3122,7 +3122,7 @@ static int quic_build_post_handshake_frames(struct quic_conn *qc)
|
||||
}
|
||||
|
||||
/* Deallocate <l> list of ACK ranges. */
|
||||
void free_quic_arngs(struct quic_arngs *arngs)
|
||||
void quic_free_arngs(struct quic_arngs *arngs)
|
||||
{
|
||||
struct eb64_node *n;
|
||||
struct quic_arng_node *ar;
|
||||
@ -3802,6 +3802,9 @@ static void quic_conn_release(struct quic_conn *qc)
|
||||
pool_free(pool_head_quic_tls_secret, app_tls_ctx->rx.secret);
|
||||
pool_free(pool_head_quic_tls_secret, app_tls_ctx->tx.secret);
|
||||
|
||||
for (i = 0; i < QUIC_TLS_PKTNS_MAX; i++)
|
||||
quic_free_arngs(&qc->pktns[i].rx.arngs);
|
||||
|
||||
pool_free(pool_head_quic_conn_rxbuf, qc->rx.buf.area);
|
||||
pool_free(pool_head_quic_conn, qc);
|
||||
TRACE_PROTO("QUIC conn. freed", QUIC_EV_CONN_FREED, qc);
|
||||
|
Loading…
Reference in New Issue
Block a user