summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-29 13:48:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:56 -0500
commitf4e75294be1f4c9d110d4ca48c5143078ade2bce (patch)
tree6670712539a473c658be8d016584f3cb58aa536d /source4/auth
parent4c0f86f828719dce09e0923330d7e625bce55c3e (diff)
downloadsamba-f4e75294be1f4c9d110d4ca48c5143078ade2bce.tar.gz
samba-f4e75294be1f4c9d110d4ca48c5143078ade2bce.tar.bz2
samba-f4e75294be1f4c9d110d4ca48c5143078ade2bce.zip
r7991: I forgot to free the keyblock once we are done with it.
Andrew Bartlett (This used to be commit a68e348375ab026385e7d5162ed8da8f2adbd84e)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/kerberos/kerberos_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index b2d9234aeb..d455dac572 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -174,6 +174,7 @@ static int free_ccache(void *ptr) {
ret = kerberos_kinit_keyblock_cc(smb_krb5_context->krb5_context, *ccache,
cli_credentials_get_principal(credentials, mem_ctx),
&keyblock, NULL, &kdc_time);
+ krb5_free_keyblock_contents(smb_krb5_context->krb5_context, &keyblock);
}
}