diff options
-rw-r--r-- | src/lib/krb5/krb/preauth2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/krb5/krb/preauth2.c b/src/lib/krb5/krb/preauth2.c index ed411e5dd..9807eeafd 100644 --- a/src/lib/krb5/krb/preauth2.c +++ b/src/lib/krb5/krb/preauth2.c @@ -678,10 +678,8 @@ pa_enc_timestamp(krb5_context context, krb5_kdc_req *request, krb5_free_data(context, tmp); - if (ret) { - free(enc_data.ciphertext.data); + if (ret) return(ret); - } ret = encode_krb5_enc_data(&enc_data, &tmp); |