[PATCH] Fix memory leak
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Tue Jan 15 14:10:25 CST 2008
---
dlls/mscoree/mscoree_main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
index ecefc27..0ffc3ab 100644
--- a/dlls/mscoree/mscoree_main.c
+++ b/dlls/mscoree/mscoree_main.c
@@ -98,6 +98,8 @@ HRESULT WINAPI CorBindToRuntimeHost(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor
MESSAGE("wine: Install the Windows version of Mono to run .NET executables\n");
return E_FAIL;
}
+
+ HeapFree(GetProcessHeap(), 0, mono_exe);
return S_OK;
}
--
1.5.3.7
--------------000205010903030906090300--
More information about the wine-patches
mailing list