winealsa.drv: Leave the CriticalSection before destroying it. Found by Smatch.
This commit is contained in:
parent
ad99cb46c6
commit
ca71287572
|
@ -573,6 +573,7 @@ static void ALSA_MixerExit(void)
|
|||
EnterCriticalSection(&elem_crst);
|
||||
TerminateThread(thread, 1);
|
||||
refcnt = 0;
|
||||
LeaveCriticalSection(&elem_crst);
|
||||
}
|
||||
|
||||
TRACE("Cleaning up\n");
|
||||
|
|
Loading…
Reference in New Issue