ao_wasapi: fix leak on align hack

This commit is contained in:
Kevin Mitchell 2017-07-09 15:19:28 -07:00
parent 4e93046ddf
commit 71cc28b804
1 changed files with 1 additions and 1 deletions

View File

@ -996,7 +996,7 @@ retry:
// According to MSDN, we must use this as base after the failure.
IAudioClient_GetBufferSize(state->pAudioClient,
&state->bufferFrameCount);
SAFE_RELEASE(state->pAudioClient);
wasapi_thread_uninit(ao);
align_hack = true;
MP_WARN(ao, "This appears to require a weird Windows 7 hack. Retrying.\n");
goto retry;