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

This commit is contained in:
Michael Stefaniuc 2008-07-11 00:10:02 +02:00 committed by Alexandre Julliard
parent 2a9713a6cb
commit 5c0ff73db2
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}