xmllite/reader: Handle NULL node type argument in Read().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1ed0631e5d
commit
33d8a323d0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue