diff --git a/native-src/placeholders_interface/Planceholders.cpp b/native-src/placeholders_interface/Planceholders.cpp index 6b52bf30..a3485bb7 100644 --- a/native-src/placeholders_interface/Planceholders.cpp +++ b/native-src/placeholders_interface/Planceholders.cpp @@ -323,7 +323,7 @@ void Placeholders::UpdateSyncStatus(const std::wstring &filePath, if (h == INVALID_HANDLE_VALUE) { wprintf(L"[UpdateSyncStatus] CreateFileW falló: %lu\n", GetLastError()); - CloseHandle(fileHandle); + CloseHandle(h); return; }