commit | c9acc31018d8b8736f4c6276479e9e0e4366fb87 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Fri Apr 01 16:41:21 2022 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Apr 07 10:10:23 2022 +0200 |
tree | b61fdb3e0cc007a2a2aefc7501364869af1212d8 | |
parent | 6057b4090ee34f89314cf5359c32fe9dc027f69c [diff] |
BUG/MINOR: fix memleak on quic-conn streams cleaning When freeing a quic-conn, the streams resources attached to it must be cleared. This code is already implemented but the streams buffer was not deallocated. Fix this by using the function qc_stream_desc_free. This existing function centralize all operations to properly free all streams elements, attached both to the MUX and the quic-conn. This fixes a memory leak which can happen for each released connection.