[PATCH] mshtml: fixed a crash due to missing typelib marshalling on 64bit
Marcus Meissner
meissner at suse.de
Tue Nov 14 08:50:02 CST 2017
Signed-off-by: Marcus Meissner <meissner at 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
More information about the wine-devel
mailing list