Fix argument type to krb5_free_cred_enc_part()
authorTheodore Tso <tytso@mit.edu>
Wed, 22 Feb 1995 04:41:14 +0000 (04:41 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 22 Feb 1995 04:41:14 +0000 (04:41 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4971 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/mk_cred.c

index 9eaf91de8aa4c001f2ec21b0801e966cc3b92106..3f5518254640cd5376cda239ec618f981c0f212d 100644 (file)
@@ -1,3 +1,8 @@
+Tue Feb 21 23:38:34 1995  Theodore Y. Ts'o  (tytso@dcl)
+
+       * mk_cred.c (krb5_mk_cred): Fix argument type to
+               krb5_free_cred_enc_part().
+
 Mon Feb 13 20:25:20 1995  Theodore Y. Ts'o  (tytso@dcl)
 
        * get_in_tkt.c (krb5_get_in_tkt): Fix memory leak --- the default
index 3e08defff1464f3c8f79956e9c9c4a079d9a38b7..211437f0bbf66e328e84e24465ae4542f99e1817 100644 (file)
@@ -72,7 +72,7 @@ krb5_mk_cred(context, dec_rep, etype, key, sender_addr, recv_addr, outbuf)
       malloc(sizeof(*cred_enc_part.ticket_info[0]));
     if (!cred_enc_part.ticket_info[0]) {
        krb5_free_tickets(context, ret_cred.tickets);
-       krb5_free_cred_enc_part(context, cred_enc_part);
+       krb5_free_cred_enc_part(context, &cred_enc_part);
        return ENOMEM;
     }
     cred_enc_part.nonce = 0;