windowscodecs: Unlock not lock again when leaving the function (Smatch).
Michael Stefaniuc
mstefani at redhat.de
Sat Apr 17 16:07:29 CDT 2010
---
dlls/windowscodecs/pngformat.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/windowscodecs/pngformat.c b/dlls/windowscodecs/pngformat.c
index 3dcbd9a..a3c7730 100644
--- a/dlls/windowscodecs/pngformat.c
+++ b/dlls/windowscodecs/pngformat.c
@@ -1384,7 +1384,7 @@ static HRESULT WINAPI PngEncoder_Commit(IWICBitmapEncoder *iface)
This->committed = TRUE;
- EnterCriticalSection(&This->lock);
+ LeaveCriticalSection(&This->lock);
return S_OK;
}
--
1.7.0.5
More information about the wine-patches
mailing list