mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 08:04:47 +00:00
winejack.drv: Fix missing unlock. Found by Smatch.
This commit is contained in:
parent
d6c2e6f067
commit
98e3006903
|
@ -1806,6 +1806,7 @@ int JACK_callback_wwi (nframes_t nframes, void *arg)
|
|||
if(wwi->in_use == FALSE)
|
||||
{
|
||||
/* do nothing if nothing is being recorded */
|
||||
LeaveCriticalSection(&wwi->access_crst);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue