From 69bc4fab25bec6231f3528f24a969d5e598da7c6 Mon Sep 17 00:00:00 2001 From: Paul Cruz Date: Tue, 20 Jun 2017 15:37:14 -0700 Subject: [PATCH] free the context object once done with decompression --- tests/decodecorpus.c | 1 + 1 file changed, 1 insertion(+) 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); } }