xactengine3_7: Return S_OK from IXACT3Cue Destroy.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2020-09-15 19:45:17 +10:00 committed by Alexandre Julliard
parent 2e11e2f33f
commit 14c6933f3f
1 changed files with 5 additions and 3 deletions

View File

@ -73,13 +73,15 @@ static HRESULT WINAPI IXACT3CueImpl_GetState(IXACT3Cue *iface, DWORD *pdwState)
static HRESULT WINAPI IXACT3CueImpl_Destroy(IXACT3Cue *iface) static HRESULT WINAPI IXACT3CueImpl_Destroy(IXACT3Cue *iface)
{ {
XACT3CueImpl *This = impl_from_IXACT3Cue(iface); XACT3CueImpl *This = impl_from_IXACT3Cue(iface);
HRESULT hr; UINT ret;
TRACE("(%p)\n", iface); 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); HeapFree(GetProcessHeap(), 0, This);
return hr; return S_OK;
} }
static HRESULT WINAPI IXACT3CueImpl_SetMatrixCoefficients(IXACT3Cue *iface, static HRESULT WINAPI IXACT3CueImpl_SetMatrixCoefficients(IXACT3Cue *iface,