[PATCH] mscoree: Fix condition in CorDebug_Release().
Signed-off-by: Andrey Gusev <andrey.goosev(a)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
Signed-off-by: Vincent Povirk <vincent(a)codeweavers.com> Due to bug 46639, I am unable to verify the tests as thoroughly as I normally would, but I still think this patch should be committed.
participants (2)
-
Andrey Gusev -
Vincent Povirk