free the context object once done with decompression
This commit is contained in:
1 parent
ceb4f65620
commit
69bc4fab25
1 file changed
+1
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user