28 May
2024
28 May
'24
9:03 p.m.
Huw Davies (@huw) commented about dlls/shell32/shlexec.c:
wszDir = buf; sei_tmp.lpDirectory = wszDir; } + + len = GetFullPathNameW(sei_tmp.lpDirectory, 0, NULL, NULL); + if (len > 0) + { + len++; + buf = malloc(len * sizeof(WCHAR)); + GetFullPathNameW(sei_tmp.lpDirectory, len, buf, NULL); + if (wszDir != dirBuffer) + free(wszDir);
This seems to be overly indented. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5400#note_69104