mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2025-02-27 11:20:04 +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…
x
Reference in New Issue
Block a user