Realkey shouldn't have been freed in one place
authorTheodore Tso <tytso@mit.edu>
Thu, 2 Jun 1994 16:40:32 +0000 (16:40 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 2 Jun 1994 16:40:32 +0000 (16:40 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3670 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/in_tkt_sky.c

index 0c8db227e5c2ad0bcd33ac60a996d47453d7457d..71b3027fdbbd0a98507d6e44680c2e0d37075a59 100644 (file)
@@ -83,7 +83,6 @@ OLDDECLARG(krb5_pa_data **,padata)
     else
        retval = krb5_copy_keyblock(&kt_ent.key, &realkey);
     if (retval) {
-       krb5_xfree(realkey);
        cleanup();
        return retval;
     }