msxml3: Fix string leak while parsing with IXMLDOMDocument.

This commit is contained in:
Nikolay Sivov 2010-01-10 18:46:30 +03:00 committed by Alexandre Julliard
parent 1c040a38c6
commit 73a955efff

View File

@ -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),