[PATCH 01/11] winecoreaudio: Release the critical section in the no interface case.
Huw Davies
huw at codeweavers.com
Wed Nov 24 05:26:42 CST 2021
This fixes an error introduced in 8e90b2569c4 which was incorrectly
fixed in b5b77ed6aca.
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
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:
--
2.23.0
More information about the wine-devel
mailing list