Huw Davies : winecoreaudio: Release the critical section in the no interface case.
Alexandre Julliard
julliard at winehq.org
Wed Nov 24 15:17:17 CST 2021
Module: wine
Branch: master
Commit: 31f088d487d6ab99e5b6b1e7e5e30b6453a1fbcb
URL: https://source.winehq.org/git/wine.git/?a=commit;h=31f088d487d6ab99e5b6b1e7e5e30b6453a1fbcb
Author: Huw Davies <huw at 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 at codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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:
More information about the wine-cvs
mailing list