Forgot to close dangling file handles

This commit is contained in:
Robert MacGregor 2016-03-12 17:31:51 -05:00
parent d69cb55c21
commit 9766df5f5b

View File

@ -391,10 +391,16 @@ 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]);
// open all the output files