From 1bf45ed4d820be75ec0c677976463b09d50d4ac5 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Fri, 11 Apr 2025 16:07:47 +0200 Subject: use FindClose (#357) * use FindClose --- src/zencore/filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zencore/filesystem.cpp') 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; } } -- cgit v1.2.3