linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] janitorial: asc2log: properly close infile
@ 2015-03-06  8:17 Robert Schwebel
  2015-03-06  8:17 ` [PATCH 2/3] janitorial: log2asc: properly close infile and outfile Robert Schwebel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert Schwebel @ 2015-03-06  8:17 UTC (permalink / raw)
  To: linux-can; +Cc: Robert Schwebel

outfile is closed as well, so do this symmetrically for infile.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 asc2log.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/asc2log.c b/asc2log.c
index 548fc7e..ae78a41 100644
--- a/asc2log.c
+++ b/asc2log.c
@@ -343,5 +343,6 @@ int main(int argc, char **argv)
 		}
 	}
 	fclose(outfile);
+	fclose(infile);
 	return 0;
 }
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-06  9:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-06  8:17 [PATCH 1/3] janitorial: asc2log: properly close infile Robert Schwebel
2015-03-06  8:17 ` [PATCH 2/3] janitorial: log2asc: properly close infile and outfile Robert Schwebel
2015-03-06  8:17 ` [PATCH 3/3] gitignore: add isotpperf Robert Schwebel
2015-03-06  9:27 ` [PATCH 1/3] janitorial: asc2log: properly close infile Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).