Commit bcf78a22 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

dxdiagn: Don't fail the whole initialization for invalid filter data in…

dxdiagn: Don't fail the whole initialization for invalid filter data in build_directshowfilters_tree.
parent c7332fa1
......@@ -1632,16 +1632,17 @@ static HRESULT build_directshowfilters_tree(IDxDiagContainerImpl_Container *node
}
hr = fill_filter_container(subcont, pMoniker);
IMoniker_Release(pMoniker);
if (FAILED(hr))
{
WARN("Skipping invalid filter\n");
free_information_tree(subcont);
IMoniker_Release(pMoniker);
break;
hr = S_OK;
continue;
}
add_subcontainer(node, subcont);
i++;
IMoniker_Release(pMoniker);
}
IEnumMoniker_Release(pEnum);
......
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