Wrong free routine was being called
authorTheodore Tso <tytso@mit.edu>
Wed, 1 Sep 1993 19:58:53 +0000 (19:58 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 1 Sep 1993 19:58:53 +0000 (19:58 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2640 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/asn.1/kcrep2crep.c

index a9bdc6b5d5f303f09b1d1048495afeed5a51d55d..4ab1d666f698498b2d263cf6ff6f0d1c6a8b36b2 100644 (file)
@@ -72,7 +72,7 @@ register int *error;
        if (!rv2->element_KRB5_13) {
          errout:
            if (retval)
-               free_KRB5_AuthorizationData(retval);
+               free_KRB5_EncKrbCredPart(retval);
            *error = ENOMEM;
            return(0);
        }