Commit 6dd935bc authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

msxml3: Initialise output interface pointers to NULL in…

msxml3: Initialise output interface pointers to NULL in xmlnodelist_QueryInterface and xmlnodelist_nextNode.
parent 276e223b
...@@ -197,6 +197,7 @@ static HRESULT WINAPI xmlnodelist_QueryInterface( ...@@ -197,6 +197,7 @@ static HRESULT WINAPI xmlnodelist_QueryInterface(
else else
{ {
FIXME("interface %s not implemented\n", debugstr_guid(riid)); FIXME("interface %s not implemented\n", debugstr_guid(riid));
*ppvObject = NULL;
return E_NOINTERFACE; return E_NOINTERFACE;
} }
...@@ -360,6 +361,8 @@ static HRESULT WINAPI xmlnodelist_nextNode( ...@@ -360,6 +361,8 @@ static HRESULT WINAPI xmlnodelist_nextNode(
TRACE("%p %p\n", This, nextItem ); TRACE("%p %p\n", This, nextItem );
*nextItem = NULL;
if(This->enum_children) if(This->enum_children)
top_level_node = &This->top_level_node; top_level_node = &This->top_level_node;
......
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