fixed memory leaks and almost all undefined behaviour
This commit is contained in:
1 parent
592de19843
commit
1d5e9705db
10 files changed
+19
-10
No files matched your search
@@ -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