Module: wine Branch: master Commit: 069599135ba7d4b1f160e76349d02e2d32b8aee6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=069599135ba7d4b1f160e76349...
Author: Jacek Caban jacek@codeweavers.com Date: Mon Jun 29 10:05:30 2015 +0200
mshtml: Initialize output paramter before test call.
---
dlls/mshtml/tests/xmlhttprequest.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mshtml/tests/xmlhttprequest.c b/dlls/mshtml/tests/xmlhttprequest.c index a1ca9a5..abfba57 100644 --- a/dlls/mshtml/tests/xmlhttprequest.c +++ b/dlls/mshtml/tests/xmlhttprequest.c @@ -485,6 +485,7 @@ static void test_async_xhr(IHTMLDocument2 *doc, const char *xml_url) todo_wine ok(hres == E_FAIL, "Expect E_FAIL, got: %08x\n", hres); todo_wine ok(val == 0, "Expect 0, got %d\n", val);
+ text = (BSTR)0xdeadbeef; hres = IHTMLXMLHttpRequest_get_statusText(xhr, &text); todo_wine ok(hres == E_FAIL, "Expect E_FAIL, got: %08x\n", hres); todo_wine ok(text == NULL, "Expect NULL, got %p\n", text);