From: Paul Cruz Date: Tue, 20 Jun 2017 22:37:14 +0000 (-0700) Subject: free the context object once done with decompression X-Git-Tag: v1.3.0~1^2~15^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69bc4fab25bec6231f3528f24a969d5e598da7c6;p=thirdparty%2Fzstd.git free the context object once done with decompression --- diff --git a/tests/decodecorpus.c b/tests/decodecorpus.c index dd2bc562d..59b2af78a 100644 --- a/tests/decodecorpus.c +++ b/tests/decodecorpus.c @@ -1345,6 +1345,7 @@ static size_t testDecodeWithDict(U32 seed, size_t dictSize) errorDetected = ERROR(corruption_detected); goto dictTestCleanup; } + ZSTD_freeDCtx(dctx); } }