Andrey Gusev : mscoree: Fix condition in CorDebug_Release().

Alexandre Julliard julliard at winehq.org
Wed Feb 13 15:30:41 CST 2019


Module: wine
Branch: master
Commit: 1e4c1730fb7a2bcb469815f7a756eb1fdf58b7e6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=1e4c1730fb7a2bcb469815f7a756eb1fdf58b7e6

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Mon Feb 11 19:16:06 2019 +0200

mscoree: Fix condition in CorDebug_Release().

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 22424c6..15e7fad 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)




More information about the wine-cvs mailing list