quartz: Add missing LeaveCriticalSection on error path (Smatch).
This commit is contained in:
parent
2a9713a6cb
commit
5c0ff73db2
|
@ -894,6 +894,7 @@ static HRESULT WINAPI DSoundRender_InputPin_EndOfStream(IPin * iface)
|
|||
if (hr != S_OK)
|
||||
{
|
||||
ERR("%08x\n", hr);
|
||||
LeaveCriticalSection(This->pin.pCritSec);
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue