18 Oct
2022
18 Oct
'22
3:17 p.m.
On Tue Oct 18 08:40:21 2022 +0000, Jacek Caban wrote:
`CoInitialize()` may fail (eg. for MTAs) and then you will do an unmatched `CoUninitialize()` call. You could check `CoInitialize()` result, but I'm not sure why you use `CLSID_NetworkListManager` at all. Could we just use `GetAdaptersAddresses` directly instead? Oh, I just wanted to re-use the existing implementation, but I wasn't aware of the pitfalls of CoInitialize. I'll look into the alternative.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1079#note_11154