From 6dd935bc3314d5cb080b878464164af7aab5fcc4 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Mon, 12 Jun 2006 01:34:17 +0100 Subject: [PATCH] msxml3: Initialise output interface pointers to NULL in xmlnodelist_QueryInterface and xmlnodelist_nextNode. --- dlls/msxml3/nodelist.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/msxml3/nodelist.c b/dlls/msxml3/nodelist.c index b85ce36fc9b..a4cf43482a9 100644 --- a/dlls/msxml3/nodelist.c +++ b/dlls/msxml3/nodelist.c @@ -197,6 +197,7 @@ static HRESULT WINAPI xmlnodelist_QueryInterface( else { FIXME("interface %s not implemented\n", debugstr_guid(riid)); + *ppvObject = NULL; return E_NOINTERFACE; } @@ -360,6 +361,8 @@ static HRESULT WINAPI xmlnodelist_nextNode( TRACE("%p %p\n", This, nextItem ); + *nextItem = NULL; + if(This->enum_children) top_level_node = &This->top_level_node; -- 2.11.4.GIT