Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ffb56bf7
Commit
ffb56bf7
authored
Jun 21, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Jun 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fix leaks in create_all_list.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
7d8fd7df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
htmlelemcol.c
dlls/mshtml/htmlelemcol.c
+5
-2
No files found.
dlls/mshtml/htmlelemcol.c
View file @
ffb56bf7
...
...
@@ -656,8 +656,6 @@ static void create_all_list(HTMLDOMNode *elem, elem_vector_t *buf)
}
nsIDOMNodeList_GetLength
(
nsnode_list
,
&
list_len
);
if
(
!
list_len
)
return
;
for
(
i
=
0
;
i
<
list_len
;
i
++
)
{
nsres
=
nsIDOMNodeList_Item
(
nsnode_list
,
i
,
&
iter
);
...
...
@@ -672,13 +670,18 @@ static void create_all_list(HTMLDOMNode *elem, elem_vector_t *buf)
hres
=
get_node
(
iter
,
TRUE
,
&
node
);
if
(
FAILED
(
hres
))
{
FIXME
(
"get_node failed: %08lx
\n
"
,
hres
);
nsIDOMNode_Release
(
iter
);
continue
;
}
elem_vector_add
(
buf
,
elem_from_HTMLDOMNode
(
node
));
create_all_list
(
node
,
buf
);
}
nsIDOMNode_Release
(
iter
);
}
nsIDOMNodeList_Release
(
nsnode_list
);
}
IHTMLElementCollection
*
create_all_collection
(
HTMLDOMNode
*
node
,
BOOL
include_root
)
...
...
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