msxml3: Fixed NULL ptr dereference possibilities (Coverity).

This commit is contained in:
Marcus Meissner 2008-10-31 00:17:44 +01:00 committed by Alexandre Julliard
parent 508ef4ce20
commit 8524cc17b3
1 changed files with 4 additions and 4 deletions

View File

@ -1339,12 +1339,12 @@ static HRESULT WINAPI xmlnode_transformNode(
} }
} }
xmlFreeDoc(result); xmlFreeDoc(result);
}
/* libxslt "helpfully" frees the XML document the stylesheet was /* libxslt "helpfully" frees the XML document the stylesheet was
generated from, too */ generated from, too */
xsltSS->doc = NULL; xsltSS->doc = NULL;
xsltFreeStylesheet(xsltSS); xsltFreeStylesheet(xsltSS);
}
IXMLDOMNode_Release(ssNew); IXMLDOMNode_Release(ssNew);
} }