Commit 1b3c6c39 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

mshtml: Don't NULL out the doc's window when unlinking the window.

This would cause a leak since we have a cyclic ref now. Signed-off-by: 's avatarGabriel Ivăncescu <gabrielopcode@gmail.com>
parent 96d611cb
......@@ -3969,7 +3969,6 @@ static void HTMLWindow_unlink(DispatchEx *dispex)
if(This->doc) {
HTMLDocumentNode *doc = This->doc;
This->doc->window = NULL;
This->doc = NULL;
IHTMLDOMNode_Release(&doc->node.IHTMLDOMNode_iface);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment