mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 06:21:47 +00:00
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: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
96d611cb87
commit
1b3c6c39c7
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue