add fclose

This commit is contained in:
Lion Kortlepel 2022-07-09 22:29:12 +02:00
parent 38eeec39b4
commit 6c1d02a425
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -106,6 +106,7 @@ void TConfig::FlushToFile() {
if (N != Str.size()) { if (N != Str.size()) {
beammp_error("Failed to write to config file properly, config file might be misshapen"); beammp_error("Failed to write to config file properly, config file might be misshapen");
} }
std::fclose(File);
} }
void TConfig::CreateConfigFile(std::string_view name) { void TConfig::CreateConfigFile(std::string_view name) {