1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r24066: Fix memleak found by Volker. We don't leak keys now with MIT and Heimdal.

Guenther
(This used to be commit 7755ad750f)
This commit is contained in:
Günther Deschner 2007-07-27 09:22:43 +00:00 committed by Gerald (Jerry) Carter
parent bf27a77c05
commit 3ec8b1702c

View File

@ -285,6 +285,7 @@ static krb5_error_code ads_secrets_verify_ticket(krb5_context context,
if (ret == KRB5KRB_AP_ERR_TKT_NYV ||
ret == KRB5KRB_AP_ERR_TKT_EXPIRED ||
ret == KRB5KRB_AP_ERR_SKEW) {
krb5_free_keyblock(context, key);
break;
}