[Base] ListFiles: Prevent leakage of file descriptors

This commit is contained in:
Gliniak 2023-05-31 07:54:23 +02:00 committed by Rick Gibbed
parent 6ee2e3718f
commit e110527bfe
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ std::vector<FileInfo> ListFiles(const std::filesystem::path& path) {
}
result.push_back(info);
}
closedir(dir);
return result;
}