Commit 43eb22c5 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

scrobj: Add a missing return value check (Coverity).

parent dd9d2bdb
......@@ -1695,6 +1695,8 @@ static HRESULT parse_scriptlet_file(struct scriptlet_factory *factory, const WCH
hres = next_xml_node(factory, &node_type);
if (hres == S_OK && node_type == XmlNodeType_XmlDeclaration)
hres = next_xml_node(factory, &node_type);
if (FAILED(hres))
return hres;
if (node_type != XmlNodeType_Element || !is_xml_name(factory, L"component"))
{
......
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