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
74e5e0b3
Commit
74e5e0b3
authored
Dec 04, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink: Fix more memory leaks in tests.
parent
0450235d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
hlink.c
dlls/hlink/tests/hlink.c
+2
-0
No files found.
dlls/hlink/tests/hlink.c
View file @
74e5e0b3
...
@@ -1044,6 +1044,7 @@ static void test_HlinkGetSetMonikerReference(void)
...
@@ -1044,6 +1044,7 @@ static void test_HlinkGetSetMonikerReference(void)
ok
(
found_trgt
==
dummy
,
"Found target should've been %p, was: %p
\n
"
,
dummy
,
found_trgt
);
ok
(
found_trgt
==
dummy
,
"Found target should've been %p, was: %p
\n
"
,
dummy
,
found_trgt
);
ok
(
lstrcmpW
(
found_loc
,
one
)
==
0
,
"Found location should've been %s, was: %s
\n
"
,
wine_dbgstr_w
(
one
),
wine_dbgstr_w
(
found_loc
));
ok
(
lstrcmpW
(
found_loc
,
one
)
==
0
,
"Found location should've been %s, was: %s
\n
"
,
wine_dbgstr_w
(
one
),
wine_dbgstr_w
(
found_loc
));
IMoniker_Release
(
found_trgt
);
IMoniker_Release
(
found_trgt
);
CoTaskMemFree
(
found_loc
);
/* set location => two */
/* set location => two */
hres
=
IHlink_SetMonikerReference
(
hlink
,
HLINKSETF_LOCATION
,
dummy2
,
two
);
hres
=
IHlink_SetMonikerReference
(
hlink
,
HLINKSETF_LOCATION
,
dummy2
,
two
);
...
@@ -1053,6 +1054,7 @@ static void test_HlinkGetSetMonikerReference(void)
...
@@ -1053,6 +1054,7 @@ static void test_HlinkGetSetMonikerReference(void)
ok
(
found_trgt
==
dummy
,
"Found target should've been %p, was: %p
\n
"
,
dummy
,
found_trgt
);
ok
(
found_trgt
==
dummy
,
"Found target should've been %p, was: %p
\n
"
,
dummy
,
found_trgt
);
ok
(
lstrcmpW
(
found_loc
,
two
)
==
0
,
"Found location should've been %s, was: %s
\n
"
,
wine_dbgstr_w
(
two
),
wine_dbgstr_w
(
found_loc
));
ok
(
lstrcmpW
(
found_loc
,
two
)
==
0
,
"Found location should've been %s, was: %s
\n
"
,
wine_dbgstr_w
(
two
),
wine_dbgstr_w
(
found_loc
));
IMoniker_Release
(
found_trgt
);
IMoniker_Release
(
found_trgt
);
CoTaskMemFree
(
found_loc
);
/* set target => dummy2 */
/* set target => dummy2 */
hres
=
IHlink_SetMonikerReference
(
hlink
,
HLINKSETF_TARGET
,
dummy2
,
one
);
hres
=
IHlink_SetMonikerReference
(
hlink
,
HLINKSETF_TARGET
,
dummy2
,
one
);
...
...
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