Skip to content
Snippets Groups Projects
Commit bd11172b authored by Haidong Yu's avatar Haidong Yu Committed by Michael Stefaniuc
Browse files

shell32: Fix a memory leak.


Signed-off-by: default avatarHaidong Yu <yuhaidong@uniontech.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
(cherry picked from commit 56976159)
Signed-off-by: default avatarMichael Stefaniuc <mstefani@winehq.org>
parent ef54f3c2
No related branches found
No related tags found
No related merge requests found
......@@ -1763,7 +1763,8 @@ static BOOL SHELL_execute( LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfunc )
buf = heap_alloc(size * sizeof(WCHAR));
if (!buf || FAILED(PathCreateFromUrlW(sei_tmp.lpFile, buf, &size, 0))) {
heap_free(buf);
return SE_ERR_OOM;
retval = SE_ERR_OOM;
goto end;
}
heap_free(wszApplicationName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment