Fix cut'n'paste error: leave the CriticalSection not enter it again
(found by smatch).
This commit is contained in:
parent
30dbb04998
commit
ca97f7fd26
|
@ -2402,7 +2402,7 @@ static HRESULT WINAPI MediaEventSink_Notify(IMediaEventSink *iface, long EventCo
|
|||
PostMessageW(This->notif.hWnd, This->notif.msg, 0, This->notif.instance);
|
||||
}
|
||||
|
||||
EnterCriticalSection(&This->evqueue.msg_crst);
|
||||
LeaveCriticalSection(&This->evqueue.msg_crst);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue