fix(tproxy): buffer not recycle

This commit is contained in:
Indexyz 2025-03-19 11:45:37 +08:00
parent dcef78782b
commit 48c3bfd3c1

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
}