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
066221a9
Commit
066221a9
authored
Jan 03, 2023
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jan 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1/tests: Fix memory leaks.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53995
parent
379ae701
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
d2d1.c
dlls/d2d1/tests/d2d1.c
+5
-1
No files found.
dlls/d2d1/tests/d2d1.c
View file @
066221a9
...
...
@@ -6154,6 +6154,7 @@ static void test_hwnd_target(BOOL d3d11)
D2D1_SIZE_U
size
;
unsigned
int
i
;
HRESULT
hr
;
ULONG
ref
;
static
const
struct
format_test
{
...
...
@@ -6235,6 +6236,8 @@ static void test_hwnd_target(BOOL d3d11)
{
todo_wine
ok
(
FAILED
(
hr
),
"Got unexpected hr %#lx.
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
ID2D1HwndRenderTarget_Release
(
rt
);
winetest_pop_context
();
continue
;
}
...
...
@@ -6251,7 +6254,8 @@ static void test_hwnd_target(BOOL d3d11)
}
DestroyWindow
(
hwnd_rt_desc
.
hwnd
);
ID2D1Factory_Release
(
factory
);
ref
=
ID2D1Factory_Release
(
factory
);
ok
(
!
ref
,
"Factory has %lu references left.
\n
"
,
ref
);
}
#define test_compatible_target_size(r) test_compatible_target_size_(__LINE__, r)
...
...
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