Commit 73a955ef authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Fix string leak while parsing with IXMLDOMDocument.

parent 1c040a38
...@@ -2045,6 +2045,7 @@ static HRESULT internal_parse( ...@@ -2045,6 +2045,7 @@ static HRESULT internal_parse(
hr = internal_parseBuffer(This, (const char*)bstrData, hr = internal_parseBuffer(This, (const char*)bstrData,
SysStringByteLen(bstrData), vbInterface); SysStringByteLen(bstrData), vbInterface);
IXMLDOMDocument_Release(xmlDoc); IXMLDOMDocument_Release(xmlDoc);
SysFreeString(bstrData);
break; break;
} }
if(IUnknown_QueryInterface(V_UNKNOWN(&varInput), if(IUnknown_QueryInterface(V_UNKNOWN(&varInput),
......
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