aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-11-21 23:34:31 -0500
committerDeterminant <[email protected]>2018-11-21 23:34:31 -0500
commitb84b00cb9d17a51b2667716229dd3ecde756b709 (patch)
treed4e41f307836f0a5dc7704835acc6ab221d27012 /src/util.cpp
parent27304354844c8baf8c14ef923e0ab65bc4df2dc0 (diff)
fix minor bugs
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 2a6a381..a0d5044 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -236,6 +236,7 @@ bool Config::load(const std::string &fname) {
}
update(optname, optval.c_str());
}
+ fclose(conf_f);
return true;
}
else