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

This commit is contained in:
Michael Stefaniuc 2010-04-17 23:07:29 +02:00 committed by Alexandre Julliard
parent aa76490d07
commit 2f8d9ccba9
1 changed files with 1 additions and 1 deletions

View File

@ -1384,7 +1384,7 @@ static HRESULT WINAPI PngEncoder_Commit(IWICBitmapEncoder *iface)
This->committed = TRUE;
EnterCriticalSection(&This->lock);
LeaveCriticalSection(&This->lock);
return S_OK;
}