Module: wine Branch: master Commit: 6ae786ec62e1c04df1618245ff9bb1d7e1dd6ba4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6ae786ec62e1c04df1618245ff...
Author: Michael Stefaniuc mstefani@redhat.de Date: Thu Mar 20 21:15:27 2008 +0100
quartz: Replace second EnterCriticalSection with LeaveCriticalSection (Smatch).
---
dlls/quartz/control.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/quartz/control.c b/dlls/quartz/control.c index 5cfa313..6b22bf4 100644 --- a/dlls/quartz/control.c +++ b/dlls/quartz/control.c @@ -400,7 +400,7 @@ HRESULT WINAPI MediaSeekingImpl_GetAvailable(IMediaSeeking * iface, LONGLONG * p EnterCriticalSection(This->crst); *pEarliest = 0; *pLatest = This->llDuration; - EnterCriticalSection(This->crst); + LeaveCriticalSection(This->crst);
return S_OK; }