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

Alexandre Julliard julliard at winehq.org
Thu May 15 15:14:30 CDT 2014


Module: wine
Branch: master
Commit: 0ae578b71cb1319f61415ef5644f2c1fbe8e9159
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0ae578b71cb1319f61415ef5644f2c1fbe8e9159

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed May 14 21:53:55 2014 +0400

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

---

 dlls/xmllite/reader.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/xmllite/reader.c b/dlls/xmllite/reader.c
index deb2d2e..d8b81ea 100644
--- a/dlls/xmllite/reader.c
+++ b/dlls/xmllite/reader.c
@@ -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);
     }




More information about the wine-cvs mailing list