Module: wine Branch: master Commit: 98c0bdb9a8c4f658d87a7ded7653e9e74b3769cc URL: https://gitlab.winehq.org/wine/wine/-/commit/98c0bdb9a8c4f658d87a7ded7653e9e...
Author: Zebediah Figura zfigura@codeweavers.com Date: Sun Oct 16 23:24:11 2022 -0500
winecoreaudio: Clean up the timer queue handle in DllMain().
---
dlls/winecoreaudio.drv/mmdevdrv.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/winecoreaudio.drv/mmdevdrv.c b/dlls/winecoreaudio.drv/mmdevdrv.c index ae2b88d6b79..6715ab72e88 100644 --- a/dlls/winecoreaudio.drv/mmdevdrv.c +++ b/dlls/winecoreaudio.drv/mmdevdrv.c @@ -210,6 +210,7 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved) case DLL_PROCESS_DETACH: if (reserved) break; DeleteCriticalSection(&g_sessions_lock); + CloseHandle(g_timer_q); break; } return TRUE;