[Bug]: memory leak if connection closed during handshake #197
Labels
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
🐞 bug
Something isn't working
What happened?
xquic/src/transport/xqc_conn.h
Lines 310 to 313 in 8fab2f9
These 3 lists are not cleared when connection destroy, so if the connection is closed during handshake (e.g. caused by a timeout), the
xqc_hs_buffer_t
s in these lists will leak.Steps To Reproduce
I found this bug in a customized version, so I'm not sure this can be reproduced.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: