Commit 2f8d9ccb authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

windowscodecs: Unlock not lock again when leaving the function (Smatch).

parent aa76490d
......@@ -1384,7 +1384,7 @@ static HRESULT WINAPI PngEncoder_Commit(IWICBitmapEncoder *iface)
This->committed = TRUE;
EnterCriticalSection(&This->lock);
LeaveCriticalSection(&This->lock);
return S_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment