Commit ca4227bd authored by Jactry Zeng's avatar Jactry Zeng Committed by Alexandre Julliard

qcap: Release IBaseFilter.

parent 442653b9
......@@ -687,6 +687,7 @@ fnCaptureGraphBuilder2_FindPin(ICaptureGraphBuilder2 * iface,
if (FAILED(hr))
{
WARN("Could not enumerate\n");
IBaseFilter_Release(filter);
return hr;
}
......@@ -720,6 +721,7 @@ fnCaptureGraphBuilder2_FindPin(ICaptureGraphBuilder2 * iface,
break;
}
IEnumPins_Release(enumpins);
IBaseFilter_Release(filter);
if (hr != S_OK)
{
......
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