mshtml/tests: Fix a crash on Win 2008.

This commit is contained in:
Huw Davies 2015-07-17 10:32:15 +01:00 committed by Alexandre Julliard
parent 268cdbbfb6
commit 1e263612ff
1 changed files with 1 additions and 0 deletions

View File

@ -395,6 +395,7 @@ static void create_xmlhttprequest(IHTMLDocument2 *doc)
return;
}
VariantInit(&var);
hres = IHTMLWindow5_get_XMLHttpRequest(window5, &var);
IHTMLWindow5_Release(window5);
ok(hres == S_OK, "get_XMLHttpRequest failed: %08x\n", hres);