mscoree: Call interface methods properly.

This commit is contained in:
Nikolay Sivov 2012-08-19 21:50:52 +04:00 committed by Alexandre Julliard
parent 64e94c22c9
commit de37c1d57f
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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);