mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
[Base] ListFiles: Prevent leakage of file descriptors
This commit is contained in:
parent
6ee2e3718f
commit
e110527bfe
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ std::vector<FileInfo> ListFiles(const std::filesystem::path& path) {
|
|||
}
|
||||
result.push_back(info);
|
||||
}
|
||||
|
||||
closedir(dir);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue