Skip to content

Commit

Permalink
Merge pull request #113 from bodgit/lint
Browse files Browse the repository at this point in the history
style: Lint fixes
  • Loading branch information
bodgit authored Feb 28, 2024
2 parents 9ccce12 + 79dc4bc commit 53d141d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/zstd/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func NewReader(_ []byte, reader io.Reader) (io.ReadCloser, error) {
if r, err = zstd.NewReader(reader); err != nil {
return nil, err
}

runtime.SetFinalizer(r, (*zstd.Decoder).Close)
}

Expand Down

0 comments on commit 53d141d

Please sign in to comment.