quartz: Fix a use-after-free in FilterGraph2_Connect().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
71fb9e65cf
commit
e5db13a8c8
|
@ -1049,6 +1049,7 @@ static HRESULT WINAPI FilterGraph2_Connect(IFilterGraph2 *iface, IPin *ppinOut,
|
||||||
if (IsEqualGUID(&clsid, &FilterCLSID)) {
|
if (IsEqualGUID(&clsid, &FilterCLSID)) {
|
||||||
/* Skip filter (same as the one the output pin belongs to) */
|
/* Skip filter (same as the one the output pin belongs to) */
|
||||||
IBaseFilter_Release(pfilter);
|
IBaseFilter_Release(pfilter);
|
||||||
|
pfilter = NULL;
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue