Commit 98c621c1 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Use the return value of IXMLDOMNode_get_text (clang).

parent f8b29a06
......@@ -613,8 +613,11 @@ static UINT MSI_ApplicablePatchXML( MSIPACKAGE *package, IXMLDOMDocument *desc )
{
hr = IXMLDOMNode_get_text( node, &s );
IXMLDOMNode_Release( node );
if (!strcmpW( s, product_code )) r = ERROR_SUCCESS;
SysFreeString(s);
if (hr == S_OK)
{
if (!strcmpW( s, product_code )) r = ERROR_SUCCESS;
SysFreeString( s );
}
}
IXMLDOMNodeList_Release( list );
......
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