mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-07 13:48:30 +02:00
daemon: fix file descriptor leaks
This commit is contained in:
@@ -133,6 +133,7 @@ const char *get_gov_state(void)
|
||||
/* Don't handle the mixed case, this shouldn't ever happen
|
||||
* But it is a clear sign we shouldn't carry on */
|
||||
LOG_ERROR("Governors malformed: got \"%s\", expected \"%s\"", contents, governor);
|
||||
fclose(f);
|
||||
return "malformed";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user