xmllite/reader: Create reader input with same IMalloc as reader.

This commit is contained in:
Nikolay Sivov 2014-05-14 21:53:55 +04:00 committed by Alexandre Julliard
parent 645cdf9dc3
commit 0ae578b71c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}