From b9f211319dcd4d1a2d76fef6da7e71d79fdc15ff Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Fri, 6 Mar 2015 09:17:17 +0100 Subject: [PATCH] janitorial: log2asc: properly close infile and outfile Signed-off-by: Robert Schwebel Signed-off-by: Marc Kleine-Budde --- log2asc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/log2asc.c b/log2asc.c index 446c0b6..29d13e8 100644 --- a/log2asc.c +++ b/log2asc.c @@ -198,6 +198,8 @@ int main(int argc, char **argv) } } fflush(outfile); + fclose(outfile); + fclose(infile); return 0; } -- 2.39.2