]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Fix memory leak in quic_deallocate_dghdlrs()
authorFrederic Lecaille <flecaille@haproxy.com>
Tue, 19 May 2026 15:06:08 +0000 (17:06 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 28 May 2026 05:30:29 +0000 (07:30 +0200)
commit9a39e55dedbfbd299a01d2af65a37b491a77ab0b
treed91b36ba0ae1be2a2c454dc7ab18afa14b9b479c
parent197424052071747838d498e65af5b40a07a63584
BUG/MINOR: quic: Fix memory leak in quic_deallocate_dghdlrs()

When deallocating the QUIC datagram handlers, the per-thread buffer
allocated inside quic_dghdlrs[i].buf.buffer was missing a free().
This led to a memory leak on exit or reload.

Fix this by freeing each thread buffer before releasing the main
quic_dghdlrs array.
src/proto_quic.c