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
fd2f3a03
Commit
fd2f3a03
authored
Apr 25, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Apr 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fix nsChannel's load_info leak.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
668d8afd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
nsio.c
dlls/mshtml/nsio.c
+7
-0
No files found.
dlls/mshtml/nsio.c
View file @
fd2f3a03
...
...
@@ -2263,6 +2263,8 @@ static nsresult NSAPI nsChannel_traverse(void *ccp, void *p, nsCycleCollectionTr
note_cc_edge
(
This
->
owner
,
"owner"
,
cb
);
if
(
This
->
post_data_stream
)
note_cc_edge
((
nsISupports
*
)
This
->
post_data_stream
,
"post_data_stream"
,
cb
);
if
(
This
->
load_info
)
note_cc_edge
(
This
->
load_info
,
"load_info"
,
cb
);
if
(
This
->
load_group
)
note_cc_edge
((
nsISupports
*
)
This
->
load_group
,
"load_group"
,
cb
);
if
(
This
->
notif_callback
)
...
...
@@ -2291,6 +2293,11 @@ static nsresult NSAPI nsChannel_unlink(void *p)
This
->
post_data_stream
=
NULL
;
nsIInputStream_Release
(
post_data_stream
);
}
if
(
This
->
load_info
)
{
nsISupports
*
load_info
=
This
->
load_info
;
This
->
load_info
=
NULL
;
nsISupports_Release
(
load_info
);
}
if
(
This
->
load_group
)
{
nsILoadGroup
*
load_group
=
This
->
load_group
;
This
->
load_group
=
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