mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-05-13 05:28:16 +08:00
fix: buffer in tproxy not recycle (#1923)
This commit is contained in:
parent
dcef78782b
commit
4f8b70c8c6
@ -76,6 +76,7 @@ func NewUDP(addr string, tunnel C.Tunnel, additions ...inbound.Addition) (*UDPLi
|
|||||||
|
|
||||||
rAddr, err := getOrigDst(oob[:oobn])
|
rAddr, err := getOrigDst(oob[:oobn])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
pool.Put(buf)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user