Jacek Caban : mshtml: Release script hosts in window_set_docnode.
Alexandre Julliard
julliard at winehq.org
Wed Jun 13 16:08:33 CDT 2012
Module: wine
Branch: master
Commit: e120ca06c36a6ed6dc3303099fca030fa7a87b85
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e120ca06c36a6ed6dc3303099fca030fa7a87b85
Author: Jacek Caban <jacek at 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);
}
More information about the wine-cvs
mailing list