mshtml: Release script hosts in window_set_docnode.

This commit is contained in:
Jacek Caban 2012-06-13 14:11:36 +02:00 committed by Alexandre Julliard
parent fc8ab63563
commit e120ca06c3
1 changed files with 1 additions and 0 deletions

View File

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