Sebastian Lackner : dmsynth: Fix a module refcounting regression.
Alexandre Julliard
julliard at winehq.org
Mon Jul 18 09:22:34 CDT 2016
Module: wine
Branch: master
Commit: a1ee6fa8dd9506cf2b117aeff080d72e199ecd15
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a1ee6fa8dd9506cf2b117aeff080d72e199ecd15
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Sat Jul 16 17:31:16 2016 +0200
dmsynth: Fix a module refcounting regression.
Fixes a regression introduced by 165f8d1fff39df4d51599bf31008c962d4867cd9.
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dmsynth/synthsink.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/dmsynth/synthsink.c b/dlls/dmsynth/synthsink.c
index cb397ef..18ef50f 100644
--- a/dlls/dmsynth/synthsink.c
+++ b/dlls/dmsynth/synthsink.c
@@ -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);
More information about the wine-cvs
mailing list