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
aab7fcd3
Commit
aab7fcd3
authored
Jan 21, 2019
by
Sven Baars
Committed by
Alexandre Julliard
Jan 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink/tests: Fix some memory leaks (Valgrind).
Signed-off-by:
Sven Baars
<
sven.wine@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b012281c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
browse_ctx.c
dlls/hlink/tests/browse_ctx.c
+1
-4
No files found.
dlls/hlink/tests/browse_ctx.c
View file @
aab7fcd3
...
...
@@ -165,16 +165,12 @@ static void test_GetObject(void)
{
IHlinkBrowseContext
*
bc
;
IMoniker
*
dummy
;
IBindCtx
*
bindctx
;
IUnknown
*
unk
;
WCHAR
one
[]
=
{
'1'
,
0
};
WCHAR
five
[]
=
{
'5'
,
0
};
DWORD
cookie
;
HRESULT
hres
;
hres
=
CreateBindCtx
(
0
,
&
bindctx
);
ok
(
hres
==
S_OK
,
"CreateBindCtx() failed: 0x%08x
\n
"
,
hres
);
hres
=
CreateItemMoniker
(
one
,
five
,
&
dummy
);
ok
(
hres
==
S_OK
,
"CreateItemMoniker() failed: 0x%08x
\n
"
,
hres
);
...
...
@@ -198,6 +194,7 @@ static void test_GetObject(void)
ok
(
hres
==
MK_E_UNAVAILABLE
,
"expected MK_E_UNAVAILABLE, got 0x%08x
\n
"
,
hres
);
IHlinkBrowseContext_Release
(
bc
);
IMoniker_Release
(
dummy
);
}
START_TEST
(
browse_ctx
)
...
...
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