Upgrade versions of vendored libs
This commit is contained in:
8
vendor/github.com/DataDog/zstd/zstd_v06.c
generated
vendored
8
vendor/github.com/DataDog/zstd/zstd_v06.c
generated
vendored
@@ -553,9 +553,9 @@ typedef struct {
|
||||
U32 cachedLitLength;
|
||||
const BYTE* cachedLiterals;
|
||||
ZSTDv06_stats_t stats;
|
||||
} seqStore_t;
|
||||
} SeqStore_t;
|
||||
|
||||
void ZSTDv06_seqToCodes(const seqStore_t* seqStorePtr, size_t const nbSeq);
|
||||
void ZSTDv06_seqToCodes(const SeqStore_t* seqStorePtr, size_t const nbSeq);
|
||||
|
||||
|
||||
#endif /* ZSTDv06_CCOMMON_H_MODULE */
|
||||
@@ -3920,6 +3920,10 @@ ZBUFFv06_DCtx* ZBUFFv06_createDCtx(void)
|
||||
if (zbd==NULL) return NULL;
|
||||
memset(zbd, 0, sizeof(*zbd));
|
||||
zbd->zd = ZSTDv06_createDCtx();
|
||||
if (zbd->zd==NULL) {
|
||||
ZBUFFv06_freeDCtx(zbd); /* avoid leaking the context */
|
||||
return NULL;
|
||||
}
|
||||
zbd->stage = ZBUFFds_init;
|
||||
return zbd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user