Fix file-handle leak when parsing xdg user directories

This commit is contained in:
Campbell Barton 2021-01-08 13:19:11 +11:00 committed by Jeroen Bakker
parent 8b52c04f9b
commit 1c9fc4d97e
1 changed files with 2 additions and 0 deletions

View File

@ -171,6 +171,8 @@ static GHash *fsmenu_xdg_user_dirs_parse(const char *home)
}
}
}
fclose(fp);
return xdg_map;
}