From 48bca107929b5ea1ab21759f70eb7807216628c0 Mon Sep 17 00:00:00 2001 From: senhuang42 Date: Thu, 3 Sep 2020 10:14:04 -0400 Subject: [PATCH] Address memory leak in CLI from fCtx --- programs/zstdcli.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/zstdcli.c b/programs/zstdcli.c index da6c24de2..c799cb781 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -1341,6 +1341,7 @@ int main(int const argCount, const char* argv[]) _end: FIO_freePreferences(prefs); + FIO_freeContext(fCtx); if (main_pause) waitEnter(); UTIL_freeFileNamesTable(filenames); UTIL_freeFileNamesTable(file_of_names);