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
24ba6a5c
Commit
24ba6a5c
authored
Jan 09, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Jan 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Fix memory leaks in the ndr_marshall tests.
parent
52f08dd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ndr_marshall.c
dlls/rpcrt4/tests/ndr_marshall.c
+3
-0
No files found.
dlls/rpcrt4/tests/ndr_marshall.c
View file @
24ba6a5c
...
@@ -1573,6 +1573,7 @@ static void test_ndr_buffer(void)
...
@@ -1573,6 +1573,7 @@ static void test_ndr_buffer(void)
status
=
RpcBindingFromStringBinding
(
binding
,
&
Handle
);
status
=
RpcBindingFromStringBinding
(
binding
,
&
Handle
);
ok
(
status
==
RPC_S_OK
,
"RpcBindingFromStringBinding failed (%lu)
\n
"
,
status
);
ok
(
status
==
RPC_S_OK
,
"RpcBindingFromStringBinding failed (%lu)
\n
"
,
status
);
RpcStringFree
(
&
binding
);
NdrClientInitializeNew
(
&
RpcMessage
,
&
StubMsg
,
&
StubDesc
,
5
);
NdrClientInitializeNew
(
&
RpcMessage
,
&
StubMsg
,
&
StubDesc
,
5
);
...
@@ -1601,6 +1602,8 @@ todo_wine
...
@@ -1601,6 +1602,8 @@ todo_wine
/* attempt double-free */
/* attempt double-free */
NdrFreeBuffer
(
&
StubMsg
);
NdrFreeBuffer
(
&
StubMsg
);
RpcBindingFree
(
&
Handle
);
status
=
RpcServerUnregisterIf
(
NULL
,
NULL
,
FALSE
);
status
=
RpcServerUnregisterIf
(
NULL
,
NULL
,
FALSE
);
ok
(
status
==
RPC_S_OK
,
"RpcServerUnregisterIf failed (%lu)
\n
"
,
status
);
ok
(
status
==
RPC_S_OK
,
"RpcServerUnregisterIf failed (%lu)
\n
"
,
status
);
}
}
...
...
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