提交 ab83b543 编写于 作者: R robm

8016063: getFinalAttributes should use FindClose

Reviewed-by: alanb
上级 72e6dd7d
......@@ -230,7 +230,7 @@ DWORD getFinalAttributes(WCHAR *path)
} else if (GetLastError() == ERROR_SHARING_VIOLATION &&
(h = FindFirstFileW(path, &wfd)) != INVALID_HANDLE_VALUE) {
attr = getFinalAttributesIfReparsePoint(path, wfd.dwFileAttributes);
CloseHandle(h);
FindClose(h);
}
return attr;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册