ddraw: Add missing unlock (Smatch).
Michael Stefaniuc
mstefani at redhat.de
Mon Oct 25 16:50:37 CDT 2010
---
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 */
--
1.7.3.1
More information about the wine-patches
mailing list