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
4afb30c5
Commit
4afb30c5
authored
Oct 29, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite/tests: Fixed some leaks (Valgrind).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9441b26d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
font.c
dlls/dwrite/tests/font.c
+3
-0
No files found.
dlls/dwrite/tests/font.c
View file @
4afb30c5
...
...
@@ -1846,6 +1846,7 @@ static void test_CustomFontCollection(void)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
exists
,
"got %d
\n
"
,
exists
);
EXPECT_REF
(
string
,
1
);
IDWriteLocalizedStrings_Release
(
string
);
family3
=
NULL
;
hr
=
IDWriteFont_GetFontFamily
(
idfont
,
&
family3
);
...
...
@@ -2869,6 +2870,7 @@ static void test_CreateStreamFromKey(void)
ok
(
writetime
!=
0
,
"got %08x%08x
\n
"
,
(
UINT
)(
writetime
>>
32
),
(
UINT
)
writetime
);
IDWriteFontFileStream_Release
(
stream
);
IDWriteFontFile_Release
(
file
);
IDWriteLocalFontFileLoader_Release
(
localloader
);
IDWriteFactory_Release
(
factory
);
...
...
@@ -2947,6 +2949,7 @@ static void test_ReadFileFragment(void)
ok
(
fragment
==
fragment2
,
"got %p, %p
\n
"
,
fragment
,
fragment2
);
IDWriteFontFileStream_ReleaseFileFragment
(
stream
,
context
);
IDWriteFontFile_Release
(
file
);
IDWriteFontFileStream_Release
(
stream
);
IDWriteLocalFontFileLoader_Release
(
localloader
);
IDWriteFactory_Release
(
factory
);
...
...
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