mshtml/tests: Remove null check after dereference (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-01-05 14:38:57 +03:00 committed by Alexandre Julliard
parent 286174a5ac
commit 53b73055b7
1 changed files with 1 additions and 1 deletions

View File

@ -2578,7 +2578,7 @@ static IHTMLWindow2 *get_iframe_window(IHTMLIFrameElement *iframe)
ok(hres == S_OK, "get_contentWindow failed: %08x\n", hres); ok(hres == S_OK, "get_contentWindow failed: %08x\n", hres);
ok(window != NULL, "window == NULL\n"); ok(window != NULL, "window == NULL\n");
if(base) IHTMLFrameBase2_Release(base); IHTMLFrameBase2_Release(base);
return window; return window;
} }