From: Theodore Tso Date: Wed, 22 Feb 1995 04:41:14 +0000 (+0000) Subject: Fix argument type to krb5_free_cred_enc_part() X-Git-Tag: krb5-1.0-beta5~691 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae9cb1910c18651827d35f3bf3c56a6d20587732;p=krb5.git Fix argument type to krb5_free_cred_enc_part() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4971 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 9eaf91de8..3f5518254 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -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 diff --git a/src/lib/krb5/krb/mk_cred.c b/src/lib/krb5/krb/mk_cred.c index 3e08defff..211437f0b 100644 --- a/src/lib/krb5/krb/mk_cred.c +++ b/src/lib/krb5/krb/mk_cred.c @@ -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;