diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2017-07-09 15:19:28 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2017-07-10 21:01:39 -0700 |
commit | 71cc28b804b13282029d0c0615b4d5c5e1d31e82 (patch) | |
tree | f90c5beee54658f25be7f7fc7feb311591ddb1ac /audio/out/ao_wasapi_utils.c | |
parent | 4e93046ddf84f23fb75e497b99f2a8f19b4ee095 (diff) | |
download | mpv-71cc28b804b13282029d0c0615b4d5c5e1d31e82.tar.bz2 mpv-71cc28b804b13282029d0c0615b4d5c5e1d31e82.tar.xz |
ao_wasapi: fix leak on align hack
Diffstat (limited to 'audio/out/ao_wasapi_utils.c')
-rw-r--r-- | audio/out/ao_wasapi_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi_utils.c b/audio/out/ao_wasapi_utils.c index 0b42ad5e54..8f5da03545 100644 --- a/audio/out/ao_wasapi_utils.c +++ b/audio/out/ao_wasapi_utils.c @@ -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; |