diff --git a/zstd/blockenc.go b/zstd/blockenc.go index 083fbb502f..c85c40255d 100644 --- a/zstd/blockenc.go +++ b/zstd/blockenc.go @@ -76,6 +76,7 @@ func (b *blockEnc) reset(prev *blockEnc) { if prev != nil { b.recentOffsets = prev.prevRecentOffsets } + b.dictLitEnc = nil } // reset will reset the block for a new encode, but in the same stream,