mscoree: Fix locking in GetRuntimeHost.
Vincent Povirk
vincent at codeweavers.com
Wed Aug 2 11:24:15 CDT 2017
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
---
dlls/mscoree/metahost.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c
index 6edd30f..bf70baa 100644
--- a/dlls/mscoree/metahost.c
+++ b/dlls/mscoree/metahost.c
@@ -342,6 +342,7 @@ static HRESULT CLRRuntimeInfo_GetRuntimeHost(CLRRuntimeInfo *This, RuntimeHost *
if (This->loaded_runtime)
{
*result = This->loaded_runtime;
+ LeaveCriticalSection(&runtime_list_cs);
return hr;
}
--
2.7.4
More information about the wine-patches
mailing list