mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 11:29:49 +00:00
qcap: Release IBaseFilter.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
442653b94e
commit
ca4227bdf4
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue