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
f8061b3a
Commit
f8061b3a
authored
Jun 28, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Keep reference to document in HTMLDOMChildrenCollection.
parent
54fd0845
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
htmlnode.c
dlls/mshtml/htmlnode.c
+3
-0
No files found.
dlls/mshtml/htmlnode.c
View file @
f8061b3a
...
@@ -95,6 +95,7 @@ static ULONG WINAPI HTMLDOMChildrenCollection_Release(IHTMLDOMChildrenCollection
...
@@ -95,6 +95,7 @@ static ULONG WINAPI HTMLDOMChildrenCollection_Release(IHTMLDOMChildrenCollection
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
if
(
!
ref
)
{
htmldoc_release
(
&
This
->
doc
->
basedoc
);
nsIDOMNodeList_Release
(
This
->
nslist
);
nsIDOMNodeList_Release
(
This
->
nslist
);
heap_free
(
This
);
heap_free
(
This
);
}
}
...
@@ -285,6 +286,8 @@ static IHTMLDOMChildrenCollection *create_child_collection(HTMLDocumentNode *doc
...
@@ -285,6 +286,8 @@ static IHTMLDOMChildrenCollection *create_child_collection(HTMLDocumentNode *doc
nsIDOMNodeList_AddRef
(
nslist
);
nsIDOMNodeList_AddRef
(
nslist
);
ret
->
nslist
=
nslist
;
ret
->
nslist
=
nslist
;
htmldoc_addref
(
&
doc
->
basedoc
);
ret
->
doc
=
doc
;
ret
->
doc
=
doc
;
init_dispex
(
&
ret
->
dispex
,
(
IUnknown
*
)
&
ret
->
IHTMLDOMChildrenCollection_iface
,
init_dispex
(
&
ret
->
dispex
,
(
IUnknown
*
)
&
ret
->
IHTMLDOMChildrenCollection_iface
,
...
...
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