windowscodecs: Unlock not lock again when leaving the function (Smatch).
This commit is contained in:
parent
aa76490d07
commit
2f8d9ccba9
|
@ -1384,7 +1384,7 @@ static HRESULT WINAPI PngEncoder_Commit(IWICBitmapEncoder *iface)
|
|||
|
||||
This->committed = TRUE;
|
||||
|
||||
EnterCriticalSection(&This->lock);
|
||||
LeaveCriticalSection(&This->lock);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue