git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
730beac
)
credentials: Remove an unnecessary talloc_steal()
author
Volker Lendecke
<vl@samba.org>
Wed, 21 Nov 2018 14:30:29 +0000
(15:30 +0100)
committer
Jeremy Allison
<jra@samba.org>
Wed, 28 Nov 2018 16:44:14 +0000
(17:44 +0100)
ccc was already allocated off cred, this talloc_steal was a no-op.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
auth/credentials/credentials_krb5.c
patch
|
blob
|
history
diff --git
a/auth/credentials/credentials_krb5.c
b/auth/credentials/credentials_krb5.c
index 6087da8d51f0fc4d9a7e871a9f8917741f051a45..e64773d6d56d5c5a4e6bef42e666d64fd710bfe5 100644
(file)
--- a/
auth/credentials/credentials_krb5.c
+++ b/
auth/credentials/credentials_krb5.c
@@
-358,7
+358,6
@@
_PUBLIC_ int cli_credentials_set_ccache(struct cli_credentials *cred,
cred->ccache = ccc;
cred->ccache_obtained = obtained;
- talloc_steal(cred, ccc);
cli_credentials_invalidate_client_gss_creds(
cred, cred->ccache_obtained);