mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-12-25 07:14:50 +01:00
Forgot to close dangling file handles
This commit is contained in:
parent
d69cb55c21
commit
9766df5f5b
|
@ -391,9 +391,15 @@ int main(int argc, char *argv[])
|
|||
switch (status)
|
||||
{
|
||||
case ESStatus::Empty:
|
||||
{
|
||||
fclose(_fInput);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
case ESStatus::Error:
|
||||
{
|
||||
fclose(_fInput);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
}
|
||||
|
||||
//printf("%s\n", argv[1]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user