From 20d42b3475d68cd98f49e9008b3f6a9d4d334e0f Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Mon, 17 Nov 2014 23:43:51 -0800 Subject: ao/wasapi: also free the threadLoop handle on uninit http://msdn.microsoft.com/en-us/library/windows/desktop/ms682453%28v=vs.85%29.aspx --- audio/out/ao_wasapi.c | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3