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
2e4b2642
Commit
2e4b2642
authored
Apr 18, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Properly release elem2 in test_elem_bounding_client_rect.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4c9517ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dom.c
dlls/mshtml/tests/dom.c
+1
-1
No files found.
dlls/mshtml/tests/dom.c
View file @
2e4b2642
...
...
@@ -5171,7 +5171,6 @@ static void test_elem_bounding_client_rect(IUnknown *unk)
hres
=
IHTMLElement2_getBoundingClientRect
(
elem2
,
&
rect
);
ok
(
hres
==
S_OK
,
"getBoundingClientRect failed: %08x
\n
"
,
hres
);
hres
=
IHTMLElement2_getBoundingClientRect
(
elem2
,
&
rect2
);
IHTMLElement2_Release
(
elem2
);
ok
(
hres
==
S_OK
,
"getBoundingClientRect failed: %08x
\n
"
,
hres
);
ok
(
rect
!=
NULL
,
"rect == NULL
\n
"
);
ok
(
rect
!=
rect2
,
"rect == rect2
\n
"
);
...
...
@@ -5207,6 +5206,7 @@ static void test_elem_bounding_client_rect(IUnknown *unk)
test_disp
((
IUnknown
*
)
rects
,
&
IID_IHTMLRectCollection
,
NULL
,
"[object]"
);
IHTMLRectCollection_Release
(
rects
);
IHTMLElement2_Release
(
elem2
);
}
static
void
test_elem_col_item
(
IHTMLElementCollection
*
col
,
const
char
*
n
,
...
...
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