xmllite/reader: Create reader input with same IMalloc as reader.
This commit is contained in:
parent
645cdf9dc3
commit
0ae578b71c
|
@ -2517,7 +2517,7 @@ static HRESULT WINAPI xmlreader_SetInput(IXmlReader* iface, IUnknown *input)
|
|||
{
|
||||
/* create IXmlReaderInput basing on supplied interface */
|
||||
hr = CreateXmlReaderInputWithEncodingName(input,
|
||||
NULL, NULL, FALSE, NULL, &readerinput);
|
||||
This->imalloc, NULL, FALSE, NULL, &readerinput);
|
||||
if (hr != S_OK) return hr;
|
||||
This->input = impl_from_IXmlReaderInput(readerinput);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue