diff --git a/lib/encoding/zstd/stream_pure.go b/lib/encoding/zstd/stream_pure.go index 15db6312a6..511fde5b47 100644 --- a/lib/encoding/zstd/stream_pure.go +++ b/lib/encoding/zstd/stream_pure.go @@ -32,7 +32,7 @@ func (r *Reader) Read(p []byte) (int, error) { // Release releases r. func (r *Reader) Release() { - r.d.Close(nil) + r.d.Close() r.d = nil }