summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-07-27 09:15:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:01 -0500
commitbf27a77c05031aab0d558583fc2e1dfbe50b327d (patch)
tree80946c53c1de4fccd045e9b1124ec7261fd5dbcd /source3
parentb4f6db40ab24742f4d9a8b1ff4885e62092b5930 (diff)
downloadsamba-bf27a77c05031aab0d558583fc2e1dfbe50b327d.tar.gz
samba-bf27a77c05031aab0d558583fc2e1dfbe50b327d.tar.bz2
samba-bf27a77c05031aab0d558583fc2e1dfbe50b327d.zip
r24065: According to gd, this breaks heimdal. Thanks for checking!
(This used to be commit ea5f53eac81e8a969587eb3996b16a1afd948877)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/kerberos_verify.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c
index ed889d027a..378258ee08 100644
--- a/source3/libads/kerberos_verify.c
+++ b/source3/libads/kerberos_verify.c
@@ -274,7 +274,6 @@ static krb5_error_code ads_secrets_verify_ticket(krb5_context context,
auth_ok = True;
krb5_copy_keyblock(context, key, keyblock);
krb5_free_keyblock(context, key);
- SAFE_FREE(key);
break;
}
@@ -286,12 +285,10 @@ 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) {
- SAFE_FREE(key);
break;
}
krb5_free_keyblock(context, key);
- SAFE_FREE(key);
}