change for enc_data
authorJohn Kohl <jtkohl@mit.edu>
Tue, 9 Oct 1990 16:52:32 +0000 (16:52 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 9 Oct 1990 16:52:32 +0000 (16:52 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1178 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/free/f_ticket.c

index a7c5cf9cf94b7d41d44d69dc3c47a686799c9bb0..2219bb7b618b9c3ab3575079da2e7ae6493ae76c 100644 (file)
@@ -23,8 +23,8 @@ void
 krb5_free_ticket(val)
 krb5_ticket *val;
 {
-    if (val->enc_part.data)
-       xfree(val->enc_part.data);
+    if (val->enc_part.ciphertext.data)
+       xfree(val->enc_part.ciphertext.data);
     if (val->enc_part2)
        krb5_free_enc_tkt_part(val->enc_part2);
     xfree(val);