Marcus Meissner : msxml3: Fixed NULL ptr dereference possibilities ( Coverity).
Alexandre Julliard
julliard at winehq.org
Fri Oct 31 09:24:09 CDT 2008
Module: wine
Branch: master
Commit: 8524cc17b3a85938fbf78677798605c71fe27890
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8524cc17b3a85938fbf78677798605c71fe27890
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Fri Oct 31 00:17:44 2008 +0100
msxml3: Fixed NULL ptr dereference possibilities (Coverity).
---
dlls/msxml3/node.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index 3162f82..1d99be3 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -1339,12 +1339,12 @@ static HRESULT WINAPI xmlnode_transformNode(
}
}
xmlFreeDoc(result);
+ /* libxslt "helpfully" frees the XML document the stylesheet was
+ generated from, too */
+ xsltSS->doc = NULL;
+ xsltFreeStylesheet(xsltSS);
}
- /* libxslt "helpfully" frees the XML document the stylesheet was
- generated from, too */
- xsltSS->doc = NULL;
- xsltFreeStylesheet(xsltSS);
IXMLDOMNode_Release(ssNew);
}
More information about the wine-cvs
mailing list