Commit e120ca06 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Release script hosts in window_set_docnode.

parent fc8ab635
...@@ -49,6 +49,7 @@ static void window_set_docnode(HTMLWindow *window, HTMLDocumentNode *doc_node) ...@@ -49,6 +49,7 @@ static void window_set_docnode(HTMLWindow *window, HTMLDocumentNode *doc_node)
window->doc->basedoc.cp_container.forward_container = NULL; window->doc->basedoc.cp_container.forward_container = NULL;
detach_events(window->doc); detach_events(window->doc);
abort_document_bindings(window->doc); abort_document_bindings(window->doc);
release_script_hosts(window);
window->doc->basedoc.window = NULL; window->doc->basedoc.window = NULL;
htmldoc_release(&window->doc->basedoc); htmldoc_release(&window->doc->basedoc);
} }
......
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