diff --git a/Alc/alcThread.c b/Alc/alcThread.c index a749bd7..582dfd8 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);