git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
librpc/rpc/binding_handle.c disconnect pipe before error
[metze/samba/wip.git]
/
librpc
/
rpc
/
binding_handle.c
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;
}