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
4b3cee0c
Commit
4b3cee0c
authored
Nov 03, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Nov 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fix window leak on error in async_stop_request.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
137a3652
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
navigate.c
dlls/mshtml/navigate.c
+4
-4
No files found.
dlls/mshtml/navigate.c
View file @
4b3cee0c
...
...
@@ -1415,16 +1415,16 @@ static HRESULT async_stop_request(nsChannelBSC *This)
stop_request_task_t
*
task
;
HRESULT
hres
;
task
=
malloc
(
sizeof
(
*
task
));
if
(
!
task
)
return
E_OUTOFMEMORY
;
IHTMLWindow2_AddRef
(
&
window
->
base
.
IHTMLWindow2_iface
);
if
(
!
This
->
bsc
.
read
)
{
TRACE
(
"No data read, calling OnStartRequest
\n
"
);
on_start_nsrequest
(
This
);
}
task
=
malloc
(
sizeof
(
*
task
));
if
(
!
task
)
return
E_OUTOFMEMORY
;
IBindStatusCallback_AddRef
(
&
This
->
bsc
.
IBindStatusCallback_iface
);
task
->
bsc
=
This
;
...
...
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