mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
BUG/MINOR: quic: memleak on wrong datagram receipt
There was a missing pool_free() call for such datagrams. As far as I see there is no leak on valid datagram receipt. Must be backported to 2.6.
This commit is contained in:
parent
cc51c9a733
commit
bfb077acff
@ -257,6 +257,7 @@ static int quic_lstnr_dgram_dispatch(unsigned char *buf, size_t len, void *owner
|
||||
return 1;
|
||||
|
||||
err:
|
||||
pool_free(pool_head_quic_dgram, new_dgram);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user