28 Nov
2022
28 Nov
'22
5:19 p.m.
Brendan Shanks (@bshanks) commented about dlls/mountmgr.sys/device.c:
} handle = CreateFileW( name, GENERIC_READ | SYNCHRONIZE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, 0 ); - RtlFreeHeap( GetProcessHeap(), 0, name );
`name` comes from `wine_get_dos_file_name()`, and should stay `RtlFreeHeap()`. (I just created !1575 which changes it to `HeapFree()` to avoid a newly-created warning) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1567#note_17691