fixed potential dangling pointer, detected by @terrelln

This commit is contained in:
Yann Collet committed 2017-06-20 16:09:11 -07:00
1 parent 78b8234554
commit c3bce24ef4
3 files changed
+15 -15

No files matched your search

-1
View File
@@ -263,7 +263,6 @@ typedef struct {
const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx);
void ZSTD_seqToCodes(const seqStore_t* seqStorePtr);
int ZSTD_isSkipFrame(ZSTD_DCtx* dctx);
/* custom memory allocation functions */
void* ZSTD_malloc(size_t size, ZSTD_customMem customMem);