amstream: Leave critical section on success (Coverity).
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b9b5117fe7
commit
623085d550
|
@ -367,6 +367,7 @@ static HRESULT WINAPI MediaStreamFilterImpl_FindPin(IMediaStreamFilter *iface, c
|
||||||
{
|
{
|
||||||
CoTaskMemFree(ret_id);
|
CoTaskMemFree(ret_id);
|
||||||
*out = pin;
|
*out = pin;
|
||||||
|
LeaveCriticalSection(&filter->cs);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
CoTaskMemFree(ret_id);
|
CoTaskMemFree(ret_id);
|
||||||
|
|
Loading…
Reference in New Issue