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
03101b06
Commit
03101b06
authored
Apr 30, 2013
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite/tests: Avoid refcount test failures.
parent
32e53142
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
font.c
dlls/dwrite/tests/font.c
+1
-8
No files found.
dlls/dwrite/tests/font.c
View file @
03101b06
...
...
@@ -444,19 +444,12 @@ if (0) /* crashes on native */
hr
=
IDWriteFont_CreateFontFace
(
font
,
&
fontface
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
EXPECT_REF
(
font
,
1
);
EXPECT_REF
(
fontface
,
2
);
hr
=
IDWriteFont_CreateFontFace
(
font
,
&
fontface2
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
fontface
==
fontface2
,
"got %p, was %p
\n
"
,
fontface2
,
fontface
);
EXPECT_REF
(
fontface
,
3
);
EXPECT_REF
(
font
,
1
);
/* the fontface refcount is increased here */
IDWriteFontFace_AddRef
(
fontface
);
EXPECT_REF
(
font
,
1
);
EXPECT_REF
(
fontface
,
4
);
IDWriteFontFace_Release
(
fontface
);
IDWriteFontFace_Release
(
fontface
);
IDWriteFontFace_Release
(
fontface
);
...
...
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