From 44f886cc9c5b01b868ddf374e7c9dc23dee0a684 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 23 Dec 2019 18:37:08 +0200 Subject: [PATCH] lib/encoding/zstd: typo fix --- lib/encoding/zstd/stream_pure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }