git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
682994b
)
librpc/rpc/binding_handle.c disconnect pipe before error
author
Stefan Metzmacher
<metze@samba.org>
Sat, 21 Sep 2013 07:49:15 +0000
(09:49 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 4 Jun 2019 11:14:55 +0000
(13:14 +0200)
librpc/rpc/binding_handle.c
patch
|
blob
|
history
diff --git
a/librpc/rpc/binding_handle.c
b/librpc/rpc/binding_handle.c
index 067683c6c092837ce2593b6f0f7b39a06635021c..78760635f85046896c9d01a74e4f192fd6598531 100644
(file)
--- a/
librpc/rpc/binding_handle.c
+++ b/
librpc/rpc/binding_handle.c
@@
-764,6
+764,9
@@
static void dcerpc_binding_handle_call_params_done(struct tevent_req *subreq)
subreq = NULL;
if (!NT_STATUS_IS_OK(error)) {
TALLOC_FREE(state->subreq);
+ dcerpc_pipe_handle_connection_disconnect(state->pc);
+ state->pc = NULL;
+ state->call_pipe = NULL;
tevent_req_nterror(req, error);
return;
}