janitorial: log2asc: properly close infile and outfile

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
pull/1/head
Robert Schwebel 2015-03-06 09:17:17 +01:00 committed by Marc Kleine-Budde
parent dfabea6120
commit b9f211319d
1 changed files with 2 additions and 0 deletions

View File

@ -198,6 +198,8 @@ int main(int argc, char **argv)
}
}
fflush(outfile);
fclose(outfile);
fclose(infile);
return 0;
}