Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d9da6e64
Commit
d9da6e64
authored
Mar 28, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Move detach_document_node call to HTMLDocumentNode_unlink.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
43ae349c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
htmldoc.c
dlls/mshtml/htmldoc.c
+3
-1
No files found.
dlls/mshtml/htmldoc.c
View file @
d9da6e64
...
@@ -4966,7 +4966,8 @@ static void HTMLDocumentNode_destructor(HTMLDOMNode *iface)
...
@@ -4966,7 +4966,8 @@ static void HTMLDocumentNode_destructor(HTMLDOMNode *iface)
{
{
HTMLDocumentNode
*
This
=
impl_from_HTMLDOMNode
(
iface
);
HTMLDocumentNode
*
This
=
impl_from_HTMLDOMNode
(
iface
);
detach_document_node
(
This
);
TRACE
(
"(%p)
\n
"
,
This
);
heap_free
(
This
->
event_vector
);
heap_free
(
This
->
event_vector
);
ConnectionPointContainer_Destroy
(
&
This
->
basedoc
.
cp_container
);
ConnectionPointContainer_Destroy
(
&
This
->
basedoc
.
cp_container
);
}
}
...
@@ -4994,6 +4995,7 @@ static void HTMLDocumentNode_unlink(HTMLDOMNode *iface)
...
@@ -4994,6 +4995,7 @@ static void HTMLDocumentNode_unlink(HTMLDOMNode *iface)
nsIDOMHTMLDocument
*
nsdoc
=
This
->
nsdoc
;
nsIDOMHTMLDocument
*
nsdoc
=
This
->
nsdoc
;
release_document_mutation
(
This
);
release_document_mutation
(
This
);
detach_document_node
(
This
);
This
->
nsdoc
=
NULL
;
This
->
nsdoc
=
NULL
;
nsIDOMHTMLDocument_Release
(
nsdoc
);
nsIDOMHTMLDocument_Release
(
nsdoc
);
This
->
window
=
NULL
;
This
->
window
=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment