diff options
author | Przemyslaw Skibinski <inikep@gmail.com> | 2016-12-07 13:31:46 (GMT) |
---|---|---|
committer | Przemyslaw Skibinski <inikep@gmail.com> | 2016-12-07 13:31:46 (GMT) |
commit | 1289038240ab81aee4cc70ef071da907ccfdfcde (patch) | |
tree | b5c75f8cd677e541c522ad7b53063741d28ec6cc /programs | |
parent | 410ba53dbc5859ab2599d3ba7e65da65f504f95b (diff) | |
download | lz4-1289038240ab81aee4cc70ef071da907ccfdfcde.zip lz4-1289038240ab81aee4cc70ef071da907ccfdfcde.tar.gz lz4-1289038240ab81aee4cc70ef071da907ccfdfcde.tar.bz2 |
15-bit LZ4HC_HASH_LOG
Diffstat (limited to 'programs')
-rw-r--r-- | programs/lz4io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c index f8a8f2b..46daaf7 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -591,9 +591,10 @@ int LZ4IO_compressMultipleFilenames(const char** inFileNamesTable, int ifntSize, char* dstFileName = (char*)malloc(FNSPACE); size_t ofnSize = FNSPACE; const size_t suffixSize = strlen(suffix); - cRess_t const ress = LZ4IO_createCResources(); + cRess_t ress; if (dstFileName == NULL) return ifntSize; /* not enough memory */ + ress = LZ4IO_createCResources(); /* loop on each file */ for (i=0; i<ifntSize; i++) { |