close zstd decoder after use.

This commit is contained in:
Sascha L. Teichmann 2024-01-07 16:02:00 +01:00
parent ca4fd3b279
commit bc58056634

View File

@ -98,6 +98,7 @@ func decode29(data []byte, colors *Colors) (*DecodedBlock, error) {
if err != nil {
return nil, err
}
defer dec.Close()
be := bigEndianReader{parent: dec}