mirror of
https://github.com/facebook/zstd.git
synced 2025-11-22 00:10:22 -05:00
free the context object once done with decompression
This commit is contained in:
parent
ceb4f65620
commit
69bc4fab25
@ -1345,6 +1345,7 @@ static size_t testDecodeWithDict(U32 seed, size_t dictSize)
|
|||||||
errorDetected = ERROR(corruption_detected);
|
errorDetected = ERROR(corruption_detected);
|
||||||
goto dictTestCleanup;
|
goto dictTestCleanup;
|
||||||
}
|
}
|
||||||
|
ZSTD_freeDCtx(dctx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user