mirror of https://git.kore.io/kore.git
Close fp after reading configuration
This commit is contained in:
parent
250a1e1ad1
commit
76383f2353
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue