mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-01 15:05:35 -05:00
fix buffer leak
This commit is contained in:
@@ -95,6 +95,7 @@ func (mb *MultiBuffer) Read(b []byte) (int, error) {
|
||||
b = b[nBytes:]
|
||||
if bb.IsEmpty() {
|
||||
bb.Release()
|
||||
(*mb)[i] = nil
|
||||
} else {
|
||||
endIndex = i
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user