From: Theodore Tso Date: Fri, 24 Dec 1993 22:55:08 +0000 (+0000) Subject: krb5_close_rcache() now frees rcache X-Git-Tag: krb5-1.0-beta3~65 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2fa3aa7e87a6c7a18f18380061eb4636eb8fb876;p=krb5.git krb5_close_rcache() now frees rcache git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3283 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb425/mk_priv.c b/src/lib/krb425/mk_priv.c index c57222014..712aa7a01 100644 --- a/src/lib/krb425/mk_priv.c +++ b/src/lib/krb425/mk_priv.c @@ -101,7 +101,6 @@ struct sockaddr_in *receiver; 0, /* ignore ivec */ &out5); krb5_rc_close(rcache); - krb5_xfree(rcache); krb5_free_address(saddr2); if (r) { diff --git a/src/lib/krb425/mk_safe.c b/src/lib/krb425/mk_safe.c index 6f753216c..e556fdce5 100644 --- a/src/lib/krb425/mk_safe.c +++ b/src/lib/krb425/mk_safe.c @@ -98,7 +98,6 @@ struct sockaddr_in *receiver; rcache, &out5); krb5_rc_close(rcache); - krb5_xfree(rcache); krb5_free_address(saddr2); if (r) { diff --git a/src/lib/krb425/rd_priv.c b/src/lib/krb425/rd_priv.c index cef751bc7..4c6ec50c4 100644 --- a/src/lib/krb425/rd_priv.c +++ b/src/lib/krb425/rd_priv.c @@ -106,7 +106,6 @@ MSG_DAT *msg; r = krb5_rd_priv(&inbuf, &keyb, saddr2, &raddr, 0, 0, 0, rcache, &out); krb5_rc_close(rcache); - krb5_xfree(rcache); krb5_free_address(saddr2); diff --git a/src/lib/krb425/rd_safe.c b/src/lib/krb425/rd_safe.c index 4f89e9b13..9c05eda10 100644 --- a/src/lib/krb425/rd_safe.c +++ b/src/lib/krb425/rd_safe.c @@ -105,7 +105,6 @@ MSG_DAT *msg; r = krb5_rd_safe(&inbuf, &keyb, saddr2, &raddr, 0, 0, rcache, &out); krb5_rc_close(rcache); - krb5_xfree(rcache); krb5_free_address(saddr2);