Stefan Holderbach 1dd861b10f
Close find handle in ls windows unsafe code (#15314)
While inspecting the Windows specific code of `ls` for #15311 I stumbled
upon an unrelated issue in the alternate metadata gathering on Windows
(added by #5703).

The handle created by performing `FindFirstFileW` was never closed,
leading to a potential leak. Fixed by running `FindClose` as soon as the
operation succeeds.

https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-findfirstfilew#remarks
2025-03-16 16:33:36 +01:00
..
2024-11-29 21:24:17 +00:00
2025-01-28 16:03:31 -06:00
2025-02-03 06:33:23 -06:00
2025-02-12 20:03:40 -08:00
2025-02-25 12:09:52 -05:00
2025-01-28 16:03:31 -06:00