Module: wine Branch: master Commit: e120ca06c36a6ed6dc3303099fca030fa7a87b85 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e120ca06c36a6ed6dc3303099f...
Author: Jacek Caban jacek@codeweavers.com Date: Wed Jun 13 14:11:36 2012 +0200
mshtml: Release script hosts in window_set_docnode.
---
dlls/mshtml/htmlwindow.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c index 43c65d9..ff17f95 100644 --- a/dlls/mshtml/htmlwindow.c +++ b/dlls/mshtml/htmlwindow.c @@ -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); }