mshtml: Initialize output paramter before test call.

This commit is contained in:
Jacek Caban 2015-06-29 10:05:30 +02:00 committed by Alexandre Julliard
parent 6096dfe6d9
commit 069599135b
1 changed files with 1 additions and 0 deletions

View File

@ -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(hres == E_FAIL, "Expect E_FAIL, got: %08x\n", hres);
todo_wine ok(val == 0, "Expect 0, got %d\n", val); todo_wine ok(val == 0, "Expect 0, got %d\n", val);
text = (BSTR)0xdeadbeef;
hres = IHTMLXMLHttpRequest_get_statusText(xhr, &text); hres = IHTMLXMLHttpRequest_get_statusText(xhr, &text);
todo_wine ok(hres == E_FAIL, "Expect E_FAIL, got: %08x\n", hres); todo_wine ok(hres == E_FAIL, "Expect E_FAIL, got: %08x\n", hres);
todo_wine ok(text == NULL, "Expect NULL, got %p\n", text); todo_wine ok(text == NULL, "Expect NULL, got %p\n", text);