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

quartz: Fix a use-after-free in FilterGraph2_Connect().

parent 71fb9e65
......@@ -1049,6 +1049,7 @@ static HRESULT WINAPI FilterGraph2_Connect(IFilterGraph2 *iface, IPin *ppinOut,
if (IsEqualGUID(&clsid, &FilterCLSID)) {
/* Skip filter (same as the one the output pin belongs to) */
IBaseFilter_Release(pfilter);
pfilter = NULL;
goto error;
}
......
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