From 0b2d6824879c4228fd3126bedf838806b21deb30 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 1 Aug 2016 17:39:06 +0200 Subject: [PATCH] fixed freeCDict --- examples/dictionary_compression.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dictionary_compression.c b/examples/dictionary_compression.c index 5a999549..8c4a81a7 100644 --- a/examples/dictionary_compression.c +++ b/examples/dictionary_compression.c @@ -163,6 +163,6 @@ int main(int argc, const char** argv) free(outFilename); } - free(dictPtr); + ZSTD_freeCDict(dictPtr); printf("All %u files compressed. \n", argc-2); }