Alistair Leslie-Hughes : xactengine3_7: Return S_OK from IXACT3Cue Destroy.

Alexandre Julliard julliard at winehq.org
Tue Sep 15 15:40:13 CDT 2020


Module: wine
Branch: master
Commit: 14c6933f3f5a40d219a0597107bed379f5caeb03
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=14c6933f3f5a40d219a0597107bed379f5caeb03

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Tue Sep 15 19:45:17 2020 +1000

xactengine3_7: Return S_OK from IXACT3Cue Destroy.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/xactengine3_7/xact_dll.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dlls/xactengine3_7/xact_dll.c b/dlls/xactengine3_7/xact_dll.c
index c5f96decb7..742fe86cc9 100644
--- a/dlls/xactengine3_7/xact_dll.c
+++ b/dlls/xactengine3_7/xact_dll.c
@@ -73,13 +73,15 @@ static HRESULT WINAPI IXACT3CueImpl_GetState(IXACT3Cue *iface, DWORD *pdwState)
 static HRESULT WINAPI IXACT3CueImpl_Destroy(IXACT3Cue *iface)
 {
     XACT3CueImpl *This = impl_from_IXACT3Cue(iface);
-    HRESULT hr;
+    UINT ret;
 
     TRACE("(%p)\n", iface);
 
-    hr = FACTCue_Destroy(This->fact_cue);
+    ret = FACTCue_Destroy(This->fact_cue);
+    if (ret != 0)
+        WARN("FACTCue_Destroy returned %d\n", ret);
     HeapFree(GetProcessHeap(), 0, This);
-    return hr;
+    return S_OK;
 }
 
 static HRESULT WINAPI IXACT3CueImpl_SetMatrixCoefficients(IXACT3Cue *iface,




More information about the wine-cvs mailing list