git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43ac07
)
credentials: Fix an error path memleak
author
Volker Lendecke
<vl@samba.org>
Wed, 21 Nov 2018 14:24:24 +0000
(15:24 +0100)
committer
Jeremy Allison
<jra@samba.org>
Wed, 28 Nov 2018 16:44:14 +0000
(17:44 +0100)
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 3f142f789d4459a6e44fd87a86430cd149de2619..a683caf98ef871ed30689bbed1af5f527e9019fb 100644
(file)
--- a/
auth/credentials/credentials_krb5.c
+++ b/
auth/credentials/credentials_krb5.c
@@
-351,6
+351,7
@@
_PUBLIC_ int cli_credentials_set_ccache(struct cli_credentials *cred,
if (ret) {
(*error_string) = error_message(ret);
+ TALLOC_FREE(ccc);
return ret;
}