Close file handle after use

This commit is contained in:
2010-01-26 19:04:06 +00:00
parent 5f285d05de
commit c0223c2c15

View File

@@ -119,6 +119,8 @@ bool read_config(const char *filename)
}
}
fclose(f);
if (!good) {
std::cerr << "Error(s) in configuration file, stopping." << std::endl;
}