[PATCH] msxml3: avoid double free of str (Coverity)

Marcus Meissner marcus at jet.franken.de
Wed Jan 1 12:15:33 CST 2014


1127305 Double free
---
 dlls/msxml3/tests/domdoc.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index df11197..f653a8b 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -11047,7 +11047,6 @@ static void test_xmlns_attribute(void)
         ok( hr == S_OK, "got 0x%08x\n", hr);
         todo_wine ok( lstrcmpW(str, _bstr_("<Testing xmlns:dt=\"urn:schemas-microsoft-com:datatypes\" dt:dt=\"bin.base64\"/>")) == 0,
         "got %s\n", wine_dbgstr_w(str));
-        SysFreeString(str);
 
         IXMLDOMElement_Release(elem);
         IXMLDOMAttribute_Release( pAttribute);
-- 
1.7.10.4




More information about the wine-patches mailing list