Close fp after reading configuration

This commit is contained in:
Joris Vink 2014-04-09 14:43:23 +02:00
parent 250a1e1ad1
commit 76383f2353
1 changed files with 2 additions and 0 deletions

View File

@ -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)