From: michael Date: Fri, 26 Jun 2015 16:58:11 +0000 (+0000) Subject: - config.c:config_load(): move the fclose(yyin) right after yyparse() X-Git-Tag: 1.1.0beta1~13 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=39ac3a503e8fcf886836b70dfdb8534ce1ec9d7b;p=hopm.git - 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 --- 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