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
f0ca65a2
Commit
f0ca65a2
authored
Feb 09, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Make sure to use return values (LLVM/Clang).
parent
f6fb9523
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
marshal.c
dlls/ole32/tests/marshal.c
+5
-12
No files found.
dlls/ole32/tests/marshal.c
View file @
f0ca65a2
...
...
@@ -1767,12 +1767,8 @@ static void test_proxybuffer(REFIID riid)
refs
=
IUnknown_Release
(
&
pUnkOuter
->
IUnknown_iface
);
ok
(
refs
==
1
,
"Ref count of outer unknown should have been 1 instead of %d
\n
"
,
refs
);
refs
=
IPSFactoryBuffer_Release
(
psfb
);
if
(
0
)
{
/* not reliable on native. maybe it leaks references! */
ok
(
refs
==
0
,
"Ref-count leak of %d on IPSFactoryBuffer
\n
"
,
refs
);
}
/* Not checking return, unreliable on native. Maybe it leaks references? */
IPSFactoryBuffer_Release
(
psfb
);
refs
=
IUnknown_Release
((
IUnknown
*
)
lpvtbl
);
ok
(
refs
==
0
,
"Ref-count leak of %d on IRpcProxyBuffer
\n
"
,
refs
);
...
...
@@ -1800,12 +1796,8 @@ static void test_stubbuffer(REFIID riid)
hr
=
IPSFactoryBuffer_CreateStub
(
psfb
,
riid
,
(
IUnknown
*
)
&
Test_ClassFactory
,
&
stub
);
ok_ole_success
(
hr
,
IPSFactoryBuffer_CreateStub
);
refs
=
IPSFactoryBuffer_Release
(
psfb
);
if
(
0
)
{
/* not reliable on native. maybe it leaks references */
ok
(
refs
==
0
,
"Ref-count leak of %d on IPSFactoryBuffer
\n
"
,
refs
);
}
/* Not checking return, unreliable on native. Maybe it leaks references? */
IPSFactoryBuffer_Release
(
psfb
);
ok_more_than_one_lock
();
...
...
@@ -1916,6 +1908,7 @@ static LRESULT CALLBACK window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
* WM_QUIT message doesn't stop the call from succeeding */
PostMessage
(
hwnd
,
WM_QUIT
,
0
,
0
);
hr
=
IClassFactory_CreateInstance
(
proxy
,
NULL
,
&
IID_IUnknown
,
(
void
**
)
&
object
);
ok
(
hr
==
S_FALSE
,
"IClassFactory_CreateInstance returned 0x%08x, expected S_FALSE
\n
"
,
hr
);
IClassFactory_Release
(
proxy
);
...
...
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