[PATCH] mshtml: fixed a crash due to missing typelib marshalling on 64bit
14 Nov
2017
14 Nov
'17
2:50 p.m.
Signed-off-by: Marcus Meissner <meissner(a)suse.de> --- 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 7ec3f6001a..a03d0105a9 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"); -- 2.15.0
2950
Age (days ago)
2951
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jacek Caban -
Marcus Meissner