Commit 917bd3ca authored by Alfred Agrell's avatar Alfred Agrell Committed by Alexandre Julliard

quartz: Fix memory leak on failure path.

parent 56dfb5bb
......@@ -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;
}
......
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