mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 23:58:56 +00:00
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…
x
Reference in New Issue
Block a user