quartz: Replace second EnterCriticalSection with LeaveCriticalSection (Smatch).
Michael Stefaniuc
mstefani at redhat.de
Thu Mar 20 15:15:27 CDT 2008
---
This looks like an cut'n'paste error to me.
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;
}
--
1.5.4.4
--
Michael Stefaniuc Tel.: +49-711-96437-199
Consulting Communications Engineer Fax.: +49-711-96437-111
--------------------------------------------------------------------
Reg. Adresse: Red Hat GmbH, Hauptstätter Strasse 58, 70178 Stuttgart
Handelsregister: Amtsgericht Stuttgart HRB 153243
Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,
Werner Knoblich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080320/025e3841/attachment.pgp
More information about the wine-patches
mailing list