aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-11-05 19:42:56 -0800
committerChris Robinson <[email protected]>2008-11-05 19:42:56 -0800
commit9ba30c4e20460de9bc1ed2005543d626f73e4af3 (patch)
tree35043ec73a166669d8063361bed5e9894821d917 /Alc
parent15334e56cdf7125364b3bbdc34112a0d9b4230a6 (diff)
Fix Win32 thread handle leak
Diffstat (limited to 'Alc')
-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);