From ca97f7fd26b8b7463112deb9c2be24abcf4b0325 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 5 Apr 2004 20:16:35 +0000 Subject: [PATCH] Fix cut'n'paste error: leave the CriticalSection not enter it again (found by smatch). --- dlls/quartz/filtergraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index 4c3f6c00650..edba57ecf75 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -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; } -- 2.11.4.GIT