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
6da77419
Commit
6da77419
authored
Feb 13, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use get_handler_vector in remove_event_handler.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
db67232c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
htmlevent.c
dlls/mshtml/htmlevent.c
+5
-5
No files found.
dlls/mshtml/htmlevent.c
View file @
6da77419
...
...
@@ -1392,7 +1392,7 @@ void detach_events(HTMLDocumentNode *doc)
static
void
remove_event_handler
(
EventTarget
*
event_target
,
eventid_t
eid
)
{
event_target_t
*
data
;
handler_vector_t
*
handler_vector
;
VARIANT
*
store
;
HRESULT
hres
;
...
...
@@ -1400,10 +1400,10 @@ static void remove_event_handler(EventTarget *event_target, eventid_t eid)
if
(
SUCCEEDED
(
hres
))
VariantClear
(
store
);
data
=
get_event_target_data
(
event_target
,
FALSE
);
if
(
data
&&
data
->
event_table
[
eid
]
&&
data
->
event_table
[
eid
]
->
handler_prop
)
{
IDispatch_Release
(
data
->
event_table
[
eid
]
->
handler_prop
);
data
->
event_table
[
eid
]
->
handler_prop
=
NULL
;
handler_vector
=
get_handler_vector
(
event_target
,
eid
,
FALSE
);
if
(
handler_vector
&&
handler_vector
->
handler_prop
)
{
IDispatch_Release
(
handler_vector
->
handler_prop
);
handler_vector
->
handler_prop
=
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