quartz: Fix memory leak on failure path.

This commit is contained in:
Alfred Agrell 2024-03-28 23:33:54 +01:00 committed by Alexandre Julliard
parent 56dfb5bbf4
commit 917bd3ca18

View file

@ -1542,6 +1542,7 @@ static HRESULT WINAPI FilterGraph2_AddSourceFilter(IFilterGraph2 *iface,
if (FAILED(hr))
{
WARN("Failed to load file, hr %#lx.\n", hr);
IBaseFilter_Release(filter);
return hr;
}