[5/5] msxml3: IXMLElementCollection::QueryInterface should return NULL interface on error.

Dmitry Timoshkov dmitry at baikal.ru
Fri Jan 31 00:18:57 CST 2014


---
 dlls/msxml3/xmlelem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/msxml3/xmlelem.c b/dlls/msxml3/xmlelem.c
index 52eef62..e1ef0eb 100644
--- a/dlls/msxml3/xmlelem.c
+++ b/dlls/msxml3/xmlelem.c
@@ -573,6 +573,7 @@ static HRESULT WINAPI xmlelem_collection_QueryInterface(IXMLElementCollection *i
     else
     {
         FIXME("interface %s not implemented\n", debugstr_guid(riid));
+        *ppvObject = NULL;
         return E_NOINTERFACE;
     }
 
-- 
1.8.5.3




More information about the wine-patches mailing list