Commit 5c0ff73d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

quartz: Add missing LeaveCriticalSection on error path (Smatch).

parent 2a9713a6
......@@ -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;
}
......
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