mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 12:14:11 +00:00
msi: Use the return value of IXMLDOMNode_get_text (clang).
This commit is contained in:
parent
f8b29a0685
commit
98c621c1bf
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue