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
e150f96a
Commit
e150f96a
authored
Dec 01, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed event target leak in dispatch_event.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8600c2a5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
htmlevent.c
dlls/mshtml/htmlevent.c
+2
-0
No files found.
dlls/mshtml/htmlevent.c
View file @
e150f96a
...
@@ -1581,6 +1581,8 @@ void dispatch_event(EventTarget *event_target, DOMEvent *event)
...
@@ -1581,6 +1581,8 @@ void dispatch_event(EventTarget *event_target, DOMEvent *event)
if
(
target_vtbl
&&
target_vtbl
->
set_current_event
)
if
(
target_vtbl
&&
target_vtbl
->
set_current_event
)
prev_event
=
target_vtbl
->
set_current_event
(
&
event_target
->
dispex
,
event
->
event_obj
);
prev_event
=
target_vtbl
->
set_current_event
(
&
event_target
->
dispex
,
event
->
event_obj
);
if
(
event
->
target
)
IDispatchEx_Release
(
&
event
->
target
->
dispex
.
IDispatchEx_iface
);
event
->
target
=
event_target
;
event
->
target
=
event_target
;
IDispatchEx_AddRef
(
&
event_target
->
dispex
.
IDispatchEx_iface
);
IDispatchEx_AddRef
(
&
event_target
->
dispex
.
IDispatchEx_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