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
26e5166c
Commit
26e5166c
authored
Jul 07, 2023
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Jul 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Fix area element leaks in test helpers.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
4fc1d8ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dom.c
dlls/mshtml/tests/dom.c
+2
-0
No files found.
dlls/mshtml/tests/dom.c
View file @
26e5166c
...
...
@@ -1761,6 +1761,7 @@ static void _test_area_href(unsigned line, IUnknown *unk, const WCHAR *exhref)
hres
=
IHTMLAreaElement_get_href
(
area
,
&
str
);
ok_
(
__FILE__
,
line
)(
hres
==
S_OK
,
"get_href failed: %08lx
\n
"
,
hres
);
ok_
(
__FILE__
,
line
)(
!
lstrcmpW
(
str
,
exhref
),
"href = %s, expected %s
\n
"
,
wine_dbgstr_w
(
str
),
wine_dbgstr_w
(
exhref
));
IHTMLAreaElement_Release
(
area
);
SysFreeString
(
str
);
_test_disp_value
(
line
,
unk
,
exhref
);
...
...
@@ -1776,6 +1777,7 @@ static void _test_area_put_href(unsigned line, IUnknown *unk, const WCHAR *exhre
str
=
SysAllocString
(
exhref
);
hres
=
IHTMLAreaElement_put_href
(
area
,
str
);
ok_
(
__FILE__
,
line
)(
hres
==
S_OK
,
"get_href failed: %08lx
\n
"
,
hres
);
IHTMLAreaElement_Release
(
area
);
SysFreeString
(
str
);
_test_disp_value
(
line
,
unk
,
exhref
);
...
...
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