Fix : decompression i/o detects flush write errors
This commit is contained in:
+2
-2
@@ -386,9 +386,9 @@ unsigned long long FIO_decompressFilename(const char* output_filename, const cha
|
||||
/* clean */
|
||||
free(inBuff);
|
||||
free(outBuff);
|
||||
fclose(finput);
|
||||
fclose(foutput);
|
||||
ZSTD_freeDCtx(dctx);
|
||||
fclose(finput);
|
||||
if (fclose(foutput)) EXM_THROW(38, "Write error : cannot properly close %s", output_filename);
|
||||
|
||||
return filesize;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user