From 39ac3a503e8fcf886836b70dfdb8534ce1ec9d7b Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 26 Jun 2015 16:58:11 +0000 Subject: [PATCH] - config.c:config_load(): move the fclose(yyin) right after yyparse() git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6209 82007160-df01-0410-b94d-b575c5fd34c7 --- src/config.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config.c b/src/config.c index ab21c4c..37cfced 100644 --- a/src/config.c +++ b/src/config.c @@ -115,12 +115,11 @@ config_load(const char *filename) } yyparse(); + fclose(yyin); scan_init(); /* Initialize the scanners once we have the configuration */ stats_init(); /* Initialize stats (UPTIME) */ firedns_init(); /* Initialize adns */ - - fclose(yyin); } void -- 2.30.2