Marcus Meissner : mshtml: Fixed a crash due to missing typelib marshalling on 64bit.
Module: wine Branch: master Commit: ac7768bfcee02f6e88475aca3e5237cb8f9c195b URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac7768bfcee02f6e88475aca3e... Author: Marcus Meissner <meissner(a)suse.de> Date: Tue Nov 14 15:50:02 2017 +0100 mshtml: Fixed a crash due to missing typelib marshalling on 64bit. Signed-off-by: Marcus Meissner <meissner(a)suse.de> Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mshtml/tests/htmldoc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c index 7ec3f60..a03d010 100644 --- a/dlls/mshtml/tests/htmldoc.c +++ b/dlls/mshtml/tests/htmldoc.c @@ -6301,6 +6301,10 @@ static void test_open_window(IHTMLDocument2 *doc, BOOL do_block) CHECK_CALLED(EvaluateNewWindow); ok(hres == S_OK, "open failed: %08x\n", hres); + if (hres != S_OK) { + IHTMLWindow2_Release(window); + return; + } if(do_block) { ok(!new_window, "new_window != NULL\n");
participants (1)
-
Alexandre Julliard