Module: wine Branch: master Commit: de37c1d57f43d7d56da59091c93971808e5fa80a URL: http://source.winehq.org/git/wine.git/?a=commit;h=de37c1d57f43d7d56da59091c9...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Sun Aug 19 21:50:52 2012 +0400
mscoree: Call interface methods properly.
---
dlls/mscoree/cordebug.c | 4 ++-- dlls/mscoree/corruntimehost.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/mscoree/cordebug.c b/dlls/mscoree/cordebug.c index da06f49..1a62e14 100644 --- a/dlls/mscoree/cordebug.c +++ b/dlls/mscoree/cordebug.c @@ -88,7 +88,7 @@ static HRESULT WINAPI cordebugprocess_QueryInterface(ICorDebugProcess *iface, return E_NOINTERFACE; }
- ICorDebug_AddRef(iface); + ICorDebugProcess_AddRef(iface);
return S_OK; } @@ -458,7 +458,7 @@ static HRESULT WINAPI process_enum_QueryInterface(ICorDebugProcessEnum *iface, R return E_NOINTERFACE; }
- ICorDebug_AddRef(iface); + ICorDebugProcessEnum_AddRef(iface);
return S_OK; } diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c index 0262757..b5ee842 100644 --- a/dlls/mscoree/corruntimehost.c +++ b/dlls/mscoree/corruntimehost.c @@ -941,7 +941,7 @@ static void CDECL ReallyFixupVTable(struct dll_fixup *fixup) }
if (info != NULL) - ICLRRuntimeHost_Release(info); + ICLRRuntimeInfo_Release(info);
HeapFree(GetProcessHeap(), 0, filenameA);