From 9ba30c4e20460de9bc1ed2005543d626f73e4af3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 5 Nov 2008 19:42:56 -0800 Subject: Fix Win32 thread handle leak --- Alc/alcThread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Alc') 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); -- cgit v1.2.3