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
a3916f63
Commit
a3916f63
authored
May 29, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 01, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Fix use-after-free in events tests.
parent
ccccd1c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
events.c
dlls/mshtml/tests/events.c
+2
-2
No files found.
dlls/mshtml/tests/events.c
View file @
a3916f63
...
...
@@ -1076,13 +1076,13 @@ static HRESULT WINAPI submit_onclick_setret(IDispatchEx *iface, DISPID id, LCID
hres
=
IHTMLEventObj_put_returnValue
(
event
,
onclick_event_retval
);
ok
(
hres
==
S_OK
,
"put_returnValue failed: %08x
\n
"
,
hres
);
IHTMLEventObj_Release
(
event
);
V_VT
(
&
v
)
=
VT_ERROR
;
hres
=
IHTMLEventObj_get_returnValue
(
event
,
&
v
);
ok
(
hres
==
S_OK
,
"get_returnValue failed: %08x
\n
"
,
hres
);
ok
(
VarCmp
(
&
v
,
&
onclick_event_retval
,
0
,
0
)
==
VARCMP_EQ
,
"unexpected returnValue
\n
"
);
IHTMLEventObj_Release
(
event
);
*
pvarRes
=
onclick_retval
;
return
S_OK
;
}
...
...
@@ -1108,9 +1108,9 @@ static HRESULT WINAPI submit_onclick_cancel(IDispatchEx *iface, DISPID id, LCID
hres
=
IHTMLEventObj_put_cancelBubble
(
event
,
VARIANT_TRUE
);
ok
(
hres
==
S_OK
,
"put_returnValue failed: %08x
\n
"
,
hres
);
IHTMLEventObj_Release
(
event
);
test_event_cancelbubble
(
event
,
VARIANT_TRUE
);
IHTMLEventObj_Release
(
event
);
return
S_OK
;
}
...
...
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