dmsynth: Fix a module refcounting regression.
Michael Stefaniuc
mstefani at redhat.com
Mon Jul 18 03:15:55 CDT 2016
On 07/16/2016 05:31 PM, Sebastian Lackner wrote:
> Fixes a regression introduced by 165f8d1fff39df4d51599bf31008c962d4867cd9.
Thanks for catching this.
>
> Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
> ---
> 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-patches
mailing list