Skip to content

Commit ad8d33f

Browse files
author
null
committed
buf release
1 parent 48ea9c6 commit ad8d33f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

proxy/tun/udp_fullcone.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ func (c *udpConn) ReadMultiBuffer() (buf.MultiBuffer, error) {
109109
_, err := b.Write(e.data)
110110
if err != nil {
111111
errors.LogInfoInner(context.Background(), err, "drop udp with size ", len(e.data), " to ", e.dest.NetAddr(), " original ", c.dst.NetAddr())
112+
b.Release()
112113
continue
113114
}
114115

0 commit comments

Comments
 (0)