mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 13:40:50 +00:00
mscoree: Free argument buffer on error (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
614ad0c8c2
commit
cee34cb141
@ -1423,7 +1423,10 @@ __int32 WINAPI _CorExeMain(void)
|
|||||||
|
|
||||||
filenameA = WtoA(filename);
|
filenameA = WtoA(filename);
|
||||||
if (!filenameA)
|
if (!filenameA)
|
||||||
|
{
|
||||||
|
HeapFree(GetProcessHeap(), 0, argv);
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
FixupVTable(GetModuleHandleW(NULL));
|
FixupVTable(GetModuleHandleW(NULL));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user