diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-11-20 17:02:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:31 -0500 |
commit | 02aba4c3397bdae40b093bf78ddad925bb87c28b (patch) | |
tree | 34ecea70eae21e252e65548beb26f25ca4e2d2f0 /source4/librpc/rpc | |
parent | f2dedc629ca0d15a59de38812abb0b290fed0a37 (diff) | |
download | samba-02aba4c3397bdae40b093bf78ddad925bb87c28b.tar.gz samba-02aba4c3397bdae40b093bf78ddad925bb87c28b.tar.bz2 samba-02aba4c3397bdae40b093bf78ddad925bb87c28b.zip |
r11810: Fix talloc hierarchy
(This used to be commit e1bf1c326f297321a6c8fdf9679130dba102669e)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index ee06d6e2be..b783e90204 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -582,7 +582,7 @@ static void bind_request_recv(struct dcerpc_connection *conn, DATA_BLOB *blob, if (conn->security_state.auth_info && state->pkt.u.bind_ack.auth_info.length) { c->status = ndr_pull_struct_blob( - &state->pkt.u.bind_ack.auth_info, state, + &state->pkt.u.bind_ack.auth_info, conn, conn->security_state.auth_info, (ndr_pull_flags_fn_t)ndr_pull_dcerpc_auth); if (!composite_is_ok(c)) return; @@ -659,7 +659,7 @@ struct composite_context *dcerpc_bind_send(struct dcerpc_pipe *p, state->pkt.u.bind.auth_info = data_blob(NULL, 0); /* construct the NDR form of the packet */ - c->status = ncacn_push_auth(&state->blob, mem_ctx, &state->pkt, + c->status = ncacn_push_auth(&state->blob, state, &state->pkt, p->conn->security_state.auth_info); if (!NT_STATUS_IS_OK(c->status)) { goto failed; |