From 069599135ba7d4b1f160e76349d02e2d32b8aee6 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 29 Jun 2015 10:05:30 +0200 Subject: [PATCH] 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 a1ca9a5041d..abfba57dd91 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);