dmsynth: Fix a module refcounting regression.
Fixes a regression introduced by 165f8d1fff
.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
911e59c133
commit
a1ee6fa8dd
|
@ -291,6 +291,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicSynthSinkImpl(LPCGUID riid, LPVOID* ret_i
|
|||
return hr;
|
||||
}
|
||||
|
||||
DMSYNTH_LockModule();
|
||||
hr = IDirectMusicSynthSink_QueryInterface(&obj->IDirectMusicSynthSink_iface, riid, ret_iface);
|
||||
IDirectMusicSynthSink_Release(&obj->IDirectMusicSynthSink_iface);
|
||||
|
||||
|
|
Loading…
Reference in New Issue