1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

Addressed comments on malloc

This commit is contained in:
Sen Huang
2019-10-02 18:34:42 -04:00
parent c763457e0a
commit 4dc604cab8
3 changed files with 15 additions and 8 deletions

View File

@ -1453,9 +1453,6 @@ int FIO_compressMultipleFilenames(FIO_prefs_t* const prefs, const char** inFileN
} }
FIO_freeCResources(ress);
if (dstFileNamesTable)
UTIL_freeDestinationFilenameTable(dstFileNamesTable, nbFiles);
return error;
}
@ -2276,9 +2273,6 @@ FIO_decompressMultipleFilenames(FIO_prefs_t* const prefs,
}
FIO_freeDResources(ress);
if (outDirName)
UTIL_freeDestinationFilenameTable(dstFileNamesTable, nbFiles);
return error;
}