aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/alcThread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/alcThread.c b/Alc/alcThread.c
index a749bd71..582dfd8c 100644
--- a/Alc/alcThread.c
+++ b/Alc/alcThread.c
@@ -71,6 +71,7 @@ ALuint StopThread(ALvoid *thread)
WaitForSingleObject(inf->thread, INFINITE);
GetExitCodeThread(inf->thread, &ret);
+ CloseHandle(inf->thread);
free(inf);