]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: remove unnecessary call to free_quic_conn_cids()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Dec 2021 10:30:11 +0000 (11:30 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Dec 2021 14:51:00 +0000 (15:51 +0100)
commita83729e9e606aa2ab4e78981799e001e2f38eb45
tree96d28a2aeeea7a74f91463312e582615b1531266
parent250ac42754547ac86b9e947cc772e92aa5f3e22e
MINOR: quic: remove unnecessary call to free_quic_conn_cids()

free_quic_conn_cids() was called in quic_build_post_handshake_frames()
if an error occured. However, the only error is an allocation failure of
the CID which does not required to call it.

This change is required for future refcount implementation. The CID lock
will be removed from the free_quic_conn_cids() and to the caller.
src/xprt_quic.c