diff options
author | Chris Robinson <[email protected]> | 2008-11-05 19:42:56 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-11-05 19:42:56 -0800 |
commit | 9ba30c4e20460de9bc1ed2005543d626f73e4af3 (patch) | |
tree | 35043ec73a166669d8063361bed5e9894821d917 | |
parent | 15334e56cdf7125364b3bbdc34112a0d9b4230a6 (diff) |
Fix Win32 thread handle leak
-rw-r--r-- | Alc/alcThread.c | 1 |
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); |