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
65bf4486
Commit
65bf4486
authored
Apr 12, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Void functions should not return a value.
parent
c4bbed48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
rpc.c
dlls/ole32/rpc.c
+7
-2
usrmarshal.c
dlls/ole32/usrmarshal.c
+1
-1
No files found.
dlls/ole32/rpc.c
View file @
65bf4486
...
...
@@ -1352,7 +1352,11 @@ static void __RPC_STUB dispatch_rpc(RPC_MESSAGE *msg)
TRACE
(
"ipid = %s, iMethod = %d
\n
"
,
debugstr_guid
(
&
ipid
),
msg
->
ProcNum
);
params
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
params
));
if
(
!
params
)
return
RpcRaiseException
(
E_OUTOFMEMORY
);
if
(
!
params
)
{
RpcRaiseException
(
E_OUTOFMEMORY
);
return
;
}
hr
=
ipid_get_dispatch_params
(
&
ipid
,
&
apt
,
&
params
->
stub
,
&
params
->
chan
,
&
params
->
iid
,
&
params
->
iface
);
...
...
@@ -1360,7 +1364,8 @@ static void __RPC_STUB dispatch_rpc(RPC_MESSAGE *msg)
{
ERR
(
"no apartment found for ipid %s
\n
"
,
debugstr_guid
(
&
ipid
));
HeapFree
(
GetProcessHeap
(),
0
,
params
);
return
RpcRaiseException
(
hr
);
RpcRaiseException
(
hr
);
return
;
}
params
->
msg
=
(
RPCOLEMESSAGE
*
)
msg
;
...
...
dlls/ole32/usrmarshal.c
View file @
65bf4486
...
...
@@ -321,7 +321,7 @@ static void __RPC_USER handle_UserFree(ULONG *pFlags, HANDLE *phMenu)
void __RPC_USER type##_UserFree(ULONG *pFlags, type *handle) \
{ \
TRACE("(%s, &%p\n", debugstr_user_flags(pFlags), *handle); \
return
handle_UserFree(pFlags, (HANDLE *)handle); \
handle_UserFree(pFlags, (HANDLE *)handle); \
}
IMPL_WIREM_HANDLE
(
HACCEL
)
...
...
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