msxml3: Fix string leak while parsing with IXMLDOMDocument.
This commit is contained in:
parent
1c040a38c6
commit
73a955efff
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue