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
29f52ac5
Commit
29f52ac5
authored
Sep 13, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opcservices/tests: Fix some leaks in tests (Valgrind).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2f2a5a2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
opcservices.c
dlls/opcservices/tests/opcservices.c
+4
-0
No files found.
dlls/opcservices/tests/opcservices.c
View file @
29f52ac5
...
...
@@ -75,6 +75,7 @@ static void test_package(void)
hr
=
IOpcPackage_GetPartSet
(
package
,
&
partset2
);
ok
(
SUCCEEDED
(
hr
),
"Failed to create a part set, hr %#x.
\n
"
,
hr
);
ok
(
partset
==
partset2
,
"Expected same part set instance.
\n
"
);
IOpcPartSet_Release
(
partset2
);
/* CreatePart */
hr
=
IOpcFactory_CreatePartUri
(
factory
,
uriW
,
&
part_uri
);
...
...
@@ -161,6 +162,7 @@ todo_wine {
IOpcRelationshipSet_Release
(
relset
);
IOpcRelationshipSet_Release
(
relset2
);
IOpcPartSet_Release
(
partset
);
IOpcPackage_Release
(
package
);
/* Root uri */
...
...
@@ -322,6 +324,8 @@ static void test_relationship(void)
hr
=
IOpcRelationshipSet_CreateRelationship
(
rels
,
NULL
,
typeW
,
target_uri2
,
OPC_URI_TARGET_MODE_INTERNAL
,
&
rel
);
todo_wine
ok
(
hr
==
OPC_E_INVALID_RELATIONSHIP_TARGET
,
"Unexpected hr %#x.
\n
"
,
hr
);
if
(
hr
==
S_OK
)
IOpcRelationship_Release
(
rel
);
hr
=
IOpcRelationshipSet_CreateRelationship
(
rels
,
NULL
,
typeW
,
target_uri
,
OPC_URI_TARGET_MODE_INTERNAL
,
&
rel
);
ok
(
SUCCEEDED
(
hr
),
"Failed to create relationship, hr %#x.
\n
"
,
hr
);
...
...
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