mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2025-04-01 11:40:05 +02: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)
|
switch (status)
|
||||||
{
|
{
|
||||||
case ESStatus::Empty:
|
case ESStatus::Empty:
|
||||||
|
{
|
||||||
|
fclose(_fInput);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
}
|
||||||
case ESStatus::Error:
|
case ESStatus::Error:
|
||||||
|
{
|
||||||
|
fclose(_fInput);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//printf("%s\n", argv[1]);
|
//printf("%s\n", argv[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user