forked from enlightenment/enlightenment
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:
parent
2305f7a273
commit
194f1c77b5
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue