mscoree: Fix memory leak.

This commit is contained in:
Alistair Leslie-Hughes 2008-01-16 07:10:25 +11:00 committed by Alexandre Julliard
parent ffffcfa239
commit 74a468d01b
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ HRESULT WINAPI CorBindToRuntimeHost(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor
return E_FAIL;
}
HeapFree(GetProcessHeap(), 0, mono_exe);
return S_OK;
}