30 May
2024
30 May
'24
9:29 a.m.
Huw Davies (@huw) commented about dlls/shell32/shlview_cmenu.c:
+ + if (FAILED(IShellLink_Constructor(NULL, &IID_IShellLinkW, (LPVOID*)&shelllink))) + { + ERR("couldn't create ShellLink object\n"); + return; + } + full_pidl = ILCombine(This->pidl, This->apidl[0]); + if (!full_pidl) + { + ERR("Out of Memory\n"); + return; + } + + hr = IShellLinkW_SetIDList(shelllink, full_pidl); + ILFree(full_pidl); + if (FAILED(hr)) { Let's not use K&R braces.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5373#note_71733