commit | 310d1bd08f421c557beb1786fc25acfcb1645a78 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Wed Sep 22 15:10:49 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Sep 23 15:27:25 2021 +0200 |
tree | 3e994bc522d3b53d2d34f425931a61637ee5049e | |
parent | ebc3fc15090bc0a1931a9897231b06ac4a996721 [diff] [blame] |
MINOR: quic: RX packets memory leak Missing RX packet reference counter decrementation at the lowest level. This leaded the memory reserved for RX packets to never be released.
diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 80591e1..e9055e9 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c
@@ -4610,6 +4610,7 @@ if (!pkt_len) break; } + quic_rx_packet_refdec(pkt); } while (pos < end); /* Increasing the received bytes counter by the UDP datagram length