Prevent prevent file descriptor leak in ShrinkDebugFile()
This commit is contained in:
parent
63888d43be
commit
6e34d9b12a
1 changed files with 2 additions and 0 deletions
|
@ -1231,6 +1231,8 @@ void ShrinkDebugFile()
|
|||
fclose(file);
|
||||
}
|
||||
}
|
||||
else if(file != NULL)
|
||||
fclose(file);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue