free the context object once done with decompression

This commit is contained in:
Paul Cruz committed 2017-06-20 15:37:14 -07:00
1 parent ceb4f65620
commit 69bc4fab25
1 file changed
+1
+1
View File
@@ -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);
} }
} }