summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-10-23 17:25:19 +0200
committerStefan Metzmacher <metze@samba.org>2009-10-24 11:59:14 +0200
commitfab9aff6a20b7dcb5a570fd2a103b5e5da6fea93 (patch)
tree0d9cc25e279c821aa2559c28490d055e37754c6e
parentf2da9c8c1a2f7a4b805f43fd643f877c9274799a (diff)
downloadsamba-fab9aff6a20b7dcb5a570fd2a103b5e5da6fea93.tar.gz
samba-fab9aff6a20b7dcb5a570fd2a103b5e5da6fea93.tar.bz2
samba-fab9aff6a20b7dcb5a570fd2a103b5e5da6fea93.zip
s4:gensec/schannel: remove unused talloc_reference() in schannel_update()
We never expose creds to the caller in schannel_update(). metze
-rw-r--r--source4/auth/gensec/schannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c
index 58cbb6a593..7b8bdec27a 100644
--- a/source4/auth/gensec/schannel.c
+++ b/source4/auth/gensec/schannel.c
@@ -156,7 +156,7 @@ static NTSTATUS schannel_update(struct gensec_security *gensec_security, TALLOC_
return status;
}
- state->creds = talloc_reference(state, creds);
+ state->creds = talloc_steal(state, creds);
bind_schannel_ack.MessageType = NL_NEGOTIATE_RESPONSE;
bind_schannel_ack.Flags = 0;