Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
15cd36d2
Commit
15cd36d2
authored
Dec 13, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Fix some memory leaks in the cstub tests.
parent
3cd88cfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
cstub.c
dlls/rpcrt4/tests/cstub.c
+3
-0
No files found.
dlls/rpcrt4/tests/cstub.c
View file @
15cd36d2
...
...
@@ -770,6 +770,8 @@ static void test_CreateStub(IPSFactoryBuffer *ppsf)
/* 0xdeadbeef returned from create_stub_test_QI */
ok
(
cstd_stub
->
pvServerObject
==
(
void
*
)
0xdeadbeef
,
"pvServerObject %p
\n
"
,
cstd_stub
->
pvServerObject
);
ok
(
cstd_stub
->
pPSFactory
!=
NULL
,
"pPSFactory was NULL
\n
"
);
cstd_stub
->
pvServerObject
=
NULL
;
IRpcStubBuffer_Release
(
pstub
);
vtbl
=
&
create_stub_test_fail_vtbl
;
pstub
=
create_stub
(
ppsf
,
&
IID_if1
,
obj
,
E_NOINTERFACE
);
...
...
@@ -908,6 +910,7 @@ static void test_Disconnect(IPSFactoryBuffer *ppsf)
IRpcStubBuffer_Disconnect
(
pstub
);
ok
(
connect_test_orig_release_called
==
1
,
"release called %d
\n
"
,
connect_test_orig_release_called
);
ok
(
cstd_stub
->
pvServerObject
==
NULL
,
"pvServerObject %p
\n
"
,
cstd_stub
->
pvServerObject
);
IRpcStubBuffer_Release
(
pstub
);
}
...
...
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