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
dd527a7d
Commit
dd527a7d
authored
Nov 10, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix a leak of a moniker object in test_default_handler.
parent
8f6218a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ole2.c
dlls/ole32/tests/ole2.c
+1
-0
No files found.
dlls/ole32/tests/ole2.c
View file @
dd527a7d
...
@@ -1395,6 +1395,7 @@ static void test_default_handler(void)
...
@@ -1395,6 +1395,7 @@ static void test_default_handler(void)
ok_ole_success
(
hr
,
"CreateItemMoniker"
);
ok_ole_success
(
hr
,
"CreateItemMoniker"
);
hr
=
IOleObject_SetMoniker
(
pObject
,
OLEWHICHMK_CONTAINER
,
pMoniker
);
hr
=
IOleObject_SetMoniker
(
pObject
,
OLEWHICHMK_CONTAINER
,
pMoniker
);
ok_ole_success
(
hr
,
"IOleObject_SetMoniker"
);
ok_ole_success
(
hr
,
"IOleObject_SetMoniker"
);
IMoniker_Release
(
pMoniker
);
hr
=
IOleObject_GetMoniker
(
pObject
,
OLEGETMONIKER_ONLYIFTHERE
,
OLEWHICHMK_CONTAINER
,
&
pMoniker
);
hr
=
IOleObject_GetMoniker
(
pObject
,
OLEGETMONIKER_ONLYIFTHERE
,
OLEWHICHMK_CONTAINER
,
&
pMoniker
);
ok
(
hr
==
E_FAIL
,
"IOleObject_GetMoniker should have returned E_FAIL instead of 0x%08x
\n
"
,
hr
);
ok
(
hr
==
E_FAIL
,
"IOleObject_GetMoniker should have returned E_FAIL instead of 0x%08x
\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