1
0
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:
Andrew Bartlett 2005-06-29 13:48:51 +00:00 committed by Gerald (Jerry) Carter
parent 4c0f86f828
commit f4e75294be

View File

@ -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);
}
}