mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-02 01:20:49 +00:00
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.
This commit is contained in:
parent
250ac42754
commit
a83729e9e6
@ -2687,7 +2687,6 @@ static int quic_build_post_handshake_frames(struct quic_conn *qc)
|
||||
return 1;
|
||||
|
||||
err:
|
||||
free_quic_conn_cids(qc);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user