Commit bf8637e4 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

strmbase: Avoid leaking pFilter in CBaseFilter::FindPin().

parent f01b9ab4
......@@ -160,6 +160,7 @@ HRESULT WINAPI BaseFilterImpl_FindPin(IBaseFilter *iface, const WCHAR *id, IPin
IPin_Release(pin);
return hr;
}
if (info.pFilter) IBaseFilter_Release(info.pFilter);
if (!strcmpW(id, info.achName))
{
......
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