]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Fix potential memory leak during QUIC connection allocations
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 19 May 2022 12:35:20 +0000 (14:35 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 20 May 2022 15:11:13 +0000 (17:11 +0200)
commit3fd92f69e02319eb49a7c0d1e021982b8b199038
treedd9b5d49c356d9469dd0d26377e1f71fc3adf53c
parenta89659a75201f8170511fa1e05bfa1e10ba2f36f
BUG/MINOR: quic: Fix potential memory leak during QUIC connection allocations

Move the code which finalizes the QUIC connections initialisations after
having called qc_new_conn() into this function to benefit from its
error handling to release the memory allocated for QUIC connections
the initialization of which could not be finalized.
src/xprt_quic.c