e_system_main: Fix resource leak

Coverity reports a leak here because we are not closing the previously
opened file. Fix that.

fixes CID1427985
This commit is contained in:
Christopher Michael 2020-04-28 11:31:24 -04:00
parent 2305f7a273
commit 194f1c77b5
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ _etc_enlightenment_system_conf_check(const char *sys)
if (gn < 0)
{
ERR("User %i member of too many groups\n", uid);
return 0;
goto deny;
}
while (fgets(buf, sizeof(buf), f))
{