Commit 6cfda8bf authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

opcservices: Improve error handling (Coverity).

parent 86f1ab36
......@@ -1723,7 +1723,8 @@ static HRESULT opc_package_collect_content_types(IOpcPackage *package, struct co
if (FAILED(hr))
break;
IOpcPartEnumerator_MoveNext(enumerator, &has_next);
if (FAILED(hr = IOpcPartEnumerator_MoveNext(enumerator, &has_next)))
break;
}
IOpcPartEnumerator_Release(enumerator);
......
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