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

mshtml: Detach window from frame element on window destruction.

parent bfec9c61
...@@ -185,6 +185,9 @@ static ULONG WINAPI HTMLWindow2_Release(IHTMLWindow2 *iface) ...@@ -185,6 +185,9 @@ static ULONG WINAPI HTMLWindow2_Release(IHTMLWindow2 *iface)
window_set_docnode(This, NULL); window_set_docnode(This, NULL);
release_children(This); release_children(This);
if(This->frame_element)
This->frame_element->content_window = NULL;
if(This->option_factory) { if(This->option_factory) {
This->option_factory->window = NULL; This->option_factory->window = NULL;
IHTMLOptionElementFactory_Release(HTMLOPTFACTORY(This->option_factory)); IHTMLOptionElementFactory_Release(HTMLOPTFACTORY(This->option_factory));
......
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