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:
parent
286174a5ac
commit
53b73055b7
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue