diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-17 23:43:51 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-17 23:43:51 -0800 |
commit | 20d42b3475d68cd98f49e9008b3f6a9d4d334e0f (patch) | |
tree | 9405ba4d9fa9bcbdf998889d56f857a1cb37c1b8 /audio/out | |
parent | 23f52fd41b4ebdaeade95cf0bc98b7f7e51f6038 (diff) |
ao/wasapi: also free the threadLoop handle on uninit
Diffstat (limited to 'audio/out')
-rw-r--r-- | audio/out/ao_wasapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c index 9ee890fe67..4f982f7a7b 100644 --- a/audio/out/ao_wasapi.c +++ b/audio/out/ao_wasapi.c @@ -165,6 +165,7 @@ static void closehandles(struct ao *ao) if (state->hFeed) CloseHandle(state->hFeed); if (state->hForceFeed) CloseHandle(state->hForceFeed); if (state->hFeedDone) CloseHandle(state->hFeedDone); + if (state->threadLoop) CloseHandle(state->threadLoop); } static void uninit(struct ao *ao) |