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
fb383cd5
Commit
fb383cd5
authored
Sep 27, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Sep 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Use IUnknown_Release instead of deprecated WdtpInterfacePointer_UserFree.
parent
691be74f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
usrmarshal.c
dlls/ole32/tests/usrmarshal.c
+1
-2
No files found.
dlls/ole32/tests/usrmarshal.c
View file @
fb383cd5
...
...
@@ -551,7 +551,6 @@ static IStream Test_Stream = { &TestStream_Vtbl };
ULONG
__RPC_USER
WdtpInterfacePointer_UserSize
(
ULONG
*
,
ULONG
,
ULONG
,
IUnknown
*
,
REFIID
);
unsigned
char
*
__RPC_USER
WdtpInterfacePointer_UserMarshal
(
ULONG
*
,
ULONG
,
unsigned
char
*
,
IUnknown
*
,
REFIID
);
unsigned
char
*
__RPC_USER
WdtpInterfacePointer_UserUnmarshal
(
ULONG
*
,
unsigned
char
*
,
IUnknown
**
,
REFIID
);
void
__RPC_USER
WdtpInterfacePointer_UserFree
(
IUnknown
*
);
static
void
marshal_WdtpInterfacePointer
(
DWORD
umcb_ctx
,
DWORD
ctx
)
{
...
...
@@ -624,7 +623,7 @@ static void marshal_WdtpInterfacePointer(DWORD umcb_ctx, DWORD ctx)
ok
(
unk2
!=
NULL
,
"IUnknown object didn't unmarshal properly
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
init_user_marshal_cb
(
&
umcb
,
&
stub_msg
,
&
rpc_msg
,
NULL
,
0
,
MSHCTX_INPROC
);
WdtpInterfacePointer_UserFre
e
(
unk2
);
IUnknown_Releas
e
(
unk2
);
}
static
void
test_marshal_WdtpInterfacePointer
(
void
)
...
...
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