From 7330c1917796bd0600247b45ebaf7007a30ece31 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 10 Jan 2016 22:24:24 +0100 Subject: [PATCH] Properly close the configuration file. This patch is imported from the rinetd Debian package. --- rinetd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rinetd.c b/rinetd.c index ddd172c..348e500 100644 --- a/rinetd.c +++ b/rinetd.c @@ -674,6 +674,7 @@ void readConfiguration(void) } } } + fclose(in); /* Open the log file */ if (logFile) { fclose(logFile);