Module: wine Branch: master Commit: 1fe54842e02fba6f14c3ea28fab3570939c754d5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1fe54842e02fba6f14c3ea28fa...
Author: Michael Stefaniuc mstefani@redhat.de Date: Mon Oct 25 23:50:37 2010 +0200
ddraw: Add missing unlock (Smatch).
---
dlls/ddraw/ddraw.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index 1f88fa5..fd87071 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -623,6 +623,7 @@ static HRESULT WINAPI ddraw7_SetCooperativeLevel(IDirectDraw7 *iface, HWND hwnd, This->devicewindow = NULL; }
+ LeaveCriticalSection(&ddraw_cs); return DD_OK; } /* DDSCL_NORMAL or DDSCL_FULLSCREEN | DDSCL_EXCLUSIVE */