From: Paul Cruz Date: Mon, 14 Aug 2017 20:08:30 +0000 (-0700) Subject: added free to free_dictionary() X-Git-Tag: v1.3.1^2~11^2^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93c1309fd432aece3daef715d4f9677864b011c0;p=thirdparty%2Fzstd.git added free to free_dictionary() --- diff --git a/doc/educational_decoder/zstd_decompress.c b/doc/educational_decoder/zstd_decompress.c index 961d27a5b..f45091b16 100644 --- a/doc/educational_decoder/zstd_decompress.c +++ b/doc/educational_decoder/zstd_decompress.c @@ -1495,6 +1495,8 @@ void free_dictionary(dictionary_t *const dict) { free(dict->content); memset(dict, 0, sizeof(dictionary_t)); + + free(dict); } /******* END DICTIONARY PARSING ***********************************************/