summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/krb/ChangeLog6
-rw-r--r--src/lib/krb5/krb/rd_cred.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog
index 93e73142aa..bb7c337818 100644
--- a/src/lib/krb5/krb/ChangeLog
+++ b/src/lib/krb5/krb/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jun 8 22:48:27 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * rd_cred.c (krb5_rd_cred_basic): Fix problem where the ticket
+ field was assigned with a krb5_data, which was then
+ immediately freed.
+
Thu Jun 8 16:06:44 1995 <tytso@rsx-11.mit.edu>
* compat_recv.c, auth_con.c, chk_trans.c, encrypt_tk.c,
diff --git a/src/lib/krb5/krb/rd_cred.c b/src/lib/krb5/krb/rd_cred.c
index 0260b21baf..71d830ee11 100644
--- a/src/lib/krb5/krb/rd_cred.c
+++ b/src/lib/krb5/krb/rd_cred.c
@@ -172,7 +172,7 @@ krb5_rd_cred_basic(context, pcreddata, pkeyblock, local_addr, remote_addr,
goto cleanup;
pcur->ticket = *pdata;
- krb5_free_data(context, pdata);
+ krb5_xfree(context, pdata);
pcur->is_skey = FALSE;