diff options
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | src/zencore/filesystem.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 29f6e3ff1..8ffade404 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ ## +-- Bugfix: Use proper FindClose call when using fallback when getting file attributes on windows + +## 5.6.5 - Bugfix: `zen builds` multipart download of large chunks could result in crash - Bugfix: Fixed invalid hash check on messages from Jupiter when doing range http requests - Bugfix: Handle temporary locked files more gracefully (Crowdstrike workaround) diff --git a/src/zencore/filesystem.cpp b/src/zencore/filesystem.cpp index 8ee21d9ab..ad796cb4a 100644 --- a/src/zencore/filesystem.cpp +++ b/src/zencore/filesystem.cpp @@ -281,7 +281,7 @@ WinGetFileAttributes(const std::filesystem::path& Path, std::error_code& Ec) } else { - CloseHandle(FindHandle); + FindClose(FindHandle); Attributes = FindData.dwFileAttributes; } } |