summaryrefslogtreecommitdiffstats
path: root/jconf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jconf.cpp')
-rw-r--r--jconf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/jconf.cpp b/jconf.cpp
index ce82525..4656365 100644
--- a/jconf.cpp
+++ b/jconf.cpp
@@ -316,6 +316,7 @@ bool jconf::parse_config(const char* sFilename)
if(flen <= 16)
{
+ fclose(pFile);
printer::inst()->print_msg(L0, "File is empty or too short - %s.", sFilename);
return false;
}
OpenPOWER on IntegriCloud