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
2c59f6fe
Commit
2c59f6fe
authored
Apr 20, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiagn/tests: Fix a couple of leaks (Valgrind).
parent
4ae80d15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
container.c
dlls/dxdiagn/tests/container.c
+2
-0
No files found.
dlls/dxdiagn/tests/container.c
View file @
2c59f6fe
...
...
@@ -701,6 +701,7 @@ static void test_GetProp(void)
IDxDiagContainer_AddRef
(
child
);
ref
=
IDxDiagContainer_Release
(
child
);
ok
(
ref
==
2
,
"Expected reference count to be 2, got %u
\n
"
,
ref
);
IDxDiagContainer_Release
(
child
);
IDxDiagContainer_Release
(
child
);
cleanup:
...
...
@@ -1010,6 +1011,7 @@ static void test_DxDiag_DisplayDevices(void)
trace
(
"Testing container %s
\n
"
,
wine_dbgstr_w
(
child_container
));
test_container_properties
(
child
,
property_tests
,
sizeof
(
property_tests
)
/
sizeof
(
property_tests
[
0
]));
}
IDxDiagContainer_Release
(
child
);
}
cleanup:
...
...
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