move kt_free_entry to proper place
authorJohn Kohl <jtkohl@mit.edu>
Wed, 16 May 1990 17:11:36 +0000 (17:11 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 16 May 1990 17:11:36 +0000 (17:11 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@856 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/rd_req_dec.c

index 363bae80016f5bfba79740030b8d4115dda87a48..4b91c4c27d840c1cc35f256846e6f0eea8e22b6e 100644 (file)
@@ -107,8 +107,8 @@ krb5_tkt_authent *tktauthent;
            if (!retval) {
                retval = krb5_copy_keyblock(&ktentry.key, &tkt_key_real);
                tkt_key = &tkt_key_real;
+               (void) krb5_kt_free_entry(&ktentry);
            }
-           (void) krb5_kt_free_entry(&ktentry);
        }
     }
     if (retval)