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

(found by smatch).
This commit is contained in:
Michael Stefaniuc 2004-04-05 20:16:35 +00:00 committed by Alexandre Julliard
parent 30dbb04998
commit ca97f7fd26

View file

@ -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;
}