Commit ca97f7fd authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

Fix cut'n'paste error: leave the CriticalSection not enter it again

(found by smatch).
parent 30dbb049
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment