[PATCH] mscoree: Fix condition in CorDebug_Release().

Andrey Gusev andrey.goosev at gmail.com
Mon Feb 11 11:16:06 CST 2019


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/mscoree/cordebug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mscoree/cordebug.c b/dlls/mscoree/cordebug.c
index 22424c6aa8..15e7fad8fa 100644
--- a/dlls/mscoree/cordebug.c
+++ b/dlls/mscoree/cordebug.c
@@ -581,7 +581,7 @@ static ULONG WINAPI CorDebug_Release(ICorDebug *iface)
         if(This->runtimehost)
             ICLRRuntimeHost_Release(This->runtimehost);
 
-        if(This->pCallback)
+        if(This->pCallback2)
             ICorDebugManagedCallback2_Release(This->pCallback2);
 
         if(This->pCallback)
-- 
2.20.1




More information about the wine-devel mailing list