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
a33df48f
Commit
a33df48f
authored
Mar 08, 2011
by
Thomas Mullaly
Committed by
Alexandre Julliard
Mar 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Fixed memory leak and made Vtbl's const.
parent
d0e6aa02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
events.c
dlls/mshtml/tests/events.c
+4
-3
No files found.
dlls/mshtml/tests/events.c
View file @
a33df48f
...
...
@@ -1197,7 +1197,7 @@ static HRESULT WINAPI timeoutFunc_Invoke(IDispatchEx *iface, DISPID dispIdMember
return
S_OK
;
}
static
IDispatchExVtbl
timeoutFuncVtbl
=
{
static
const
IDispatchExVtbl
timeoutFuncVtbl
=
{
DispatchEx_QueryInterface
,
DispatchEx_AddRef
,
DispatchEx_Release
,
...
...
@@ -1231,7 +1231,7 @@ static HRESULT WINAPI div_onclick_disp_Invoke(IDispatchEx *iface, DISPID id,
return
S_OK
;
}
static
IDispatchExVtbl
div_onclick_dispVtbl
=
{
static
const
IDispatchExVtbl
div_onclick_dispVtbl
=
{
Dispatch_QueryInterface
,
DispatchEx_AddRef
,
DispatchEx_Release
,
...
...
@@ -2208,7 +2208,7 @@ static HRESULT WINAPI PropertyNotifySink_OnRequestEdit(IPropertyNotifySink *ifac
return
E_NOTIMPL
;
}
static
IPropertyNotifySinkVtbl
PropertyNotifySinkVtbl
=
{
static
const
IPropertyNotifySinkVtbl
PropertyNotifySinkVtbl
=
{
PropertyNotifySink_QueryInterface
,
PropertyNotifySink_AddRef
,
PropertyNotifySink_Release
,
...
...
@@ -2410,6 +2410,7 @@ static void test_empty_document(void)
ok
(
hres
==
S_OK
,
"Unadvise failed: %08x
\n
"
,
hres
);
IHTMLDocument2_Release
(
windows_doc
);
IHTMLDocument2_Release
(
doc
);
}
START_TEST
(
events
)
...
...
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