Commit 33d8a323 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

xmllite/reader: Handle NULL node type argument in Read().

parent 1ed0631e
......@@ -2777,7 +2777,8 @@ static HRESULT WINAPI xmlreader_Read(IXmlReader* iface, XmlNodeType *nodetype)
if (hr == S_OK)
{
TRACE("node type %s\n", debugstr_nodetype(This->nodetype));
*nodetype = This->nodetype;
if (nodetype)
*nodetype = This->nodetype;
}
return hr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment