Commit 623085d5 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

amstream: Leave critical section on success (Coverity).

parent b9b5117f
...@@ -367,6 +367,7 @@ static HRESULT WINAPI MediaStreamFilterImpl_FindPin(IMediaStreamFilter *iface, c ...@@ -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);
......
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