Fix Win32 thread handle leak

This commit is contained in:
Chris Robinson 2008-11-05 19:42:56 -08:00
parent 15334e56cd
commit 9ba30c4e20

View File

@ -71,6 +71,7 @@ ALuint StopThread(ALvoid *thread)
WaitForSingleObject(inf->thread, INFINITE);
GetExitCodeThread(inf->thread, &ret);
CloseHandle(inf->thread);
free(inf);