Module: wine Branch: master Commit: 31f088d487d6ab99e5b6b1e7e5e30b6453a1fbcb URL: https://source.winehq.org/git/wine.git/?a=commit;h=31f088d487d6ab99e5b6b1e7e...
Author: Huw Davies huw@codeweavers.com Date: Wed Nov 24 11:26:42 2021 +0000
winecoreaudio: Release the critical section in the no interface case.
This fixes an error introduced in 8e90b2569c4 which was incorrectly fixed in b5b77ed6aca.
Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Andrew Eikum aeikum@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/winecoreaudio.drv/mmdevdrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winecoreaudio.drv/mmdevdrv.c b/dlls/winecoreaudio.drv/mmdevdrv.c index 717e64b2283..aa051cb3d61 100644 --- a/dlls/winecoreaudio.drv/mmdevdrv.c +++ b/dlls/winecoreaudio.drv/mmdevdrv.c @@ -1114,7 +1114,7 @@ static HRESULT WINAPI AudioClient_GetService(IAudioClient3 *iface, REFIID riid, if(*ppv) hr = S_OK; else{ FIXME("stub %s\n", debugstr_guid(riid)); - return E_NOINTERFACE; + hr = E_NOINTERFACE; }
end: