[PATCH] quartz: Forward dsound_render_qc_Release() to a release method

Michael Stefaniuc mstefani at winehq.org
Sun Aug 29 07:00:17 CDT 2021


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/quartz/dsoundrender.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c
index 9ecdb280cc6..c35a88416dc 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -955,7 +955,7 @@ static ULONG WINAPI dsound_render_qc_AddRef(IQualityControl *iface)
 static ULONG WINAPI dsound_render_qc_Release(IQualityControl *iface)
 {
     struct dsound_render *filter = impl_from_IQualityControl(iface);
-    return IUnknown_AddRef(filter->filter.outer_unk);
+    return IUnknown_Release(filter->filter.outer_unk);
 }
 
 static HRESULT WINAPI dsound_render_qc_Notify(IQualityControl *iface,
-- 
2.31.1




More information about the wine-devel mailing list