Dmitry Timoshkov : msxml3: IXMLElementCollection:: QueryInterface should return NULL interface on error.
Module: wine Branch: master Commit: fdba11a263f9a1f447f7b7aedc4f2b20836aa920 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fdba11a263f9a1f447f7b7aedc... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Fri Jan 31 15:18:57 2014 +0900 msxml3: IXMLElementCollection::QueryInterface should return NULL interface on error. --- 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; }
participants (1)
-
Alexandre Julliard