commit 76383f23537f7586e91625f12875f4427b3debdc
parent 250a1e1ad14cb751961035c1a4e9636f06c34985
Author: Joris Vink <joris@coders.se>
Date: Wed, 9 Apr 2014 14:43:23 +0200
Close fp after reading configuration
Diffstat:
src/config.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/config.c b/src/config.c
@@ -171,6 +171,8 @@ kore_parse_config(void)
lineno++;
}
+ fclose(fp);
+
if (!kore_module_loaded())
fatal("no site module was loaded");
if (kore_cb_name != NULL && kore_cb == NULL)