diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c index ecefc2704ca..35564ac9fad 100644 --- a/dlls/mscoree/mscoree_main.c +++ b/dlls/mscoree/mscoree_main.c @@ -99,6 +99,8 @@ HRESULT WINAPI CorBindToRuntimeHost(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor return E_FAIL; } + HeapFree(GetProcessHeap(), 0, mono_exe); + return S_OK; }