diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 80591e116..e9055e92e 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -4610,6 +4610,7 @@ static ssize_t quic_dgram_read(char *buf, size_t len, void *owner, if (!pkt_len) break; } + quic_rx_packet_refdec(pkt); } while (pos < end); /* Increasing the received bytes counter by the UDP datagram length