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
ed92450d
Commit
ed92450d
authored
Jun 12, 2014
by
Vincent Povirk
Committed by
Alexandre Julliard
Jun 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Fix leak in test_propertybag_getpropertyinfo.
parent
fae22c7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
propertybag.c
dlls/windowscodecs/tests/propertybag.c
+2
-0
No files found.
dlls/windowscodecs/tests/propertybag.c
View file @
ed92450d
...
...
@@ -67,10 +67,12 @@ static void test_propertybag_getpropertyinfo(IPropertyBag2 *property, ULONG expe
ok
(
pb
[
0
].
vt
==
VT_UI1
,
"Invalid variant type, pb[0].vt=%x
\n
"
,
pb
[
0
].
vt
);
ok
(
pb
[
0
].
dwType
==
PROPBAG2_TYPE_DATA
,
"Invalid variant type, pb[0].dwType=%x
\n
"
,
pb
[
0
].
dwType
);
ok
(
lstrcmpW
(
pb
[
0
].
pstrName
,
wszTestProperty1
)
==
0
,
"Invalid property name, pb[0].pstrName=%s
\n
"
,
wine_dbgstr_w
(
pb
[
0
].
pstrName
));
CoTaskMemFree
(
pb
[
0
].
pstrName
);
ok
(
pb
[
1
].
vt
==
VT_R4
,
"Invalid variant type, pb[1].vt=%x
\n
"
,
pb
[
1
].
vt
);
ok
(
pb
[
1
].
dwType
==
PROPBAG2_TYPE_DATA
,
"Invalid variant type, pb[1].dwType=%x
\n
"
,
pb
[
1
].
dwType
);
ok
(
lstrcmpW
(
pb
[
1
].
pstrName
,
wszTestProperty2
)
==
0
,
"Invalid property name, pb[1].pstrName=%s
\n
"
,
wine_dbgstr_w
(
pb
[
1
].
pstrName
));
CoTaskMemFree
(
pb
[
1
].
pstrName
);
}
static
void
test_propertybag_countproperties
(
IPropertyBag2
*
property
,
ULONG
expected_count
)
...
...
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