1
0
mirror of https://github.com/facebook/zstd.git synced 2025-08-05 19:15:58 +03:00

Address memory leak in CLI from fCtx

This commit is contained in:
senhuang42
2020-09-03 10:14:04 -04:00
parent 23feaecbe5
commit 48bca10792

View File

@@ -1341,6 +1341,7 @@ int main(int const argCount, const char* argv[])
_end: _end:
FIO_freePreferences(prefs); FIO_freePreferences(prefs);
FIO_freeContext(fCtx);
if (main_pause) waitEnter(); if (main_pause) waitEnter();
UTIL_freeFileNamesTable(filenames); UTIL_freeFileNamesTable(filenames);
UTIL_freeFileNamesTable(file_of_names); UTIL_freeFileNamesTable(file_of_names);