mirror of
https://github.com/facebook/zstd.git
synced 2025-07-28 00:01:53 +03:00
fixed memory leaks and almost all undefined behaviour
This commit is contained in:
@ -1273,7 +1273,6 @@ static int createBuffers(buffers_t* buff, const char* const * const fileNamesTab
|
||||
f = fopen(fileNamesTable[n], "rb");
|
||||
if (f==NULL) {
|
||||
DISPLAY("impossible to open file %s\n", fileNamesTable[n]);
|
||||
fclose(f);
|
||||
ret = 10;
|
||||
goto _cleanUp;
|
||||
}
|
||||
|
Reference in New Issue
Block a user