krb5_close_rcache() now frees rcache
authorTheodore Tso <tytso@mit.edu>
Fri, 24 Dec 1993 22:55:08 +0000 (22:55 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 24 Dec 1993 22:55:08 +0000 (22:55 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3283 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb425/mk_priv.c
src/lib/krb425/mk_safe.c
src/lib/krb425/rd_priv.c
src/lib/krb425/rd_safe.c

index c572220144eb224e5f21924a4556f88af344c7b6..712aa7a0130f7f249ffc8142e6b00a4bed433428 100644 (file)
@@ -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) {
index 6f753216cde61af4d4d3470b47bdce221ab07179..e556fdce53ffa89b6cb6d0060dce63278cef8cbd 100644 (file)
@@ -98,7 +98,6 @@ struct sockaddr_in *receiver;
                         rcache,
                         &out5);
        krb5_rc_close(rcache);
-       krb5_xfree(rcache);
        krb5_free_address(saddr2);
 
        if (r) {
index cef751bc77267d4daec21025f57bf9520caaf9e6..4c6ec50c4f5e0cf212537adf807cb56b92f5cfcc 100644 (file)
@@ -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);
 
index 4f89e9b133577825b66c366c625ef2c34b3ff585..9c05eda1010d5ed6b98ce8f38cbf38c80c3a2fad 100644 (file)
@@ -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);