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.