mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
r7991: I forgot to free the keyblock once we are done with it.
Andrew Bartlett (This used to be commit a68e348375ab026385e7d5162ed8da8f2adbd84e)
This commit is contained in:
parent
4c0f86f828
commit
f4e75294be
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user