dmusic: Avoid using the COM method implementations directly.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-08-31 22:52:01 +02:00 committed by Alexandre Julliard
parent 44cd385af3
commit dd8d5f3820
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ HRESULT DMUSIC_CreateReferenceClockImpl(LPCGUID riid, LPVOID* ret_iface, LPUNKNO
DMUSIC_LockModule();
hr = IReferenceClockImpl_QueryInterface(&clock->IReferenceClock_iface, riid, ret_iface);
IReferenceClockImpl_Release(&clock->IReferenceClock_iface);
IReferenceClock_Release(&clock->IReferenceClock_iface);
return hr;
}

View File

@ -430,7 +430,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicImpl(LPCGUID riid, LPVOID* ret_iface, LPU
DMUSIC_LockModule();
ret = IDirectMusic8Impl_QueryInterface(&dmusic->IDirectMusic8_iface, riid, ret_iface);
IDirectMusic8Impl_Release(&dmusic->IDirectMusic8_iface);
IDirectMusic8_Release(&dmusic->IDirectMusic8_iface);
return ret;
}