[PATCH] xactengine3_7: Return S_OK from IXACT3Cue Destroy.
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Tue Sep 15 04:45:17 CDT 2020
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
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,
--
2.28.0
More information about the wine-devel
mailing list