summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.c b/config.c
index b021f75..12237b3 100644
--- a/config.c
+++ b/config.c
@@ -49,6 +49,7 @@ int getconfstr(char *confname, char *filename, char* dest) {
if (!found) {
printf("Error reading configuration option '%s', did not find it in configuration file '%s'.\n", confname, filename);
+ fclose(fp);
return 0;
}