fix: buffer in tproxy not recycle (#1923)

This commit is contained in:
5aaee9 2025-03-19 12:20:48 +08:00 committed by GitHub
parent dcef78782b
commit 4f8b70c8c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,6 +76,7 @@ func NewUDP(addr string, tunnel C.Tunnel, additions ...inbound.Addition) (*UDPLi
rAddr, err := getOrigDst(oob[:oobn])
if err != nil {
pool.Put(buf)
continue
}