diff options
author | Theodore Tso <tytso@mit.edu> | 1993-12-24 22:53:05 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1993-12-24 22:53:05 +0000 |
commit | 3255a12307a4f3a5727ac03a590055d4cf5d70ca (patch) | |
tree | bbd5a04c43969d251b0dfad21f4ea919461a4f07 /src/appl/simple | |
parent | 7798693ef7f8079a0323ea52aaa1694b4344979a (diff) | |
download | krb5-3255a12307a4f3a5727ac03a590055d4cf5d70ca.zip krb5-3255a12307a4f3a5727ac03a590055d4cf5d70ca.tar.gz krb5-3255a12307a4f3a5727ac03a590055d4cf5d70ca.tar.bz2 |
krb5_free_rcache now free's replay cache
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3281 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/simple')
-rw-r--r-- | src/appl/simple/server/sim_server.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/appl/simple/server/sim_server.c b/src/appl/simple/server/sim_server.c index dce8ce3..ffb9a11 100644 --- a/src/appl/simple/server/sim_server.c +++ b/src/appl/simple/server/sim_server.c @@ -204,7 +204,6 @@ char *argv[]; &message)) { com_err(PROGNAME, retval, "while verifying SAFE message"); (void) krb5_rc_close(rcache); - krb5_xfree(rcache); exit(1); } printf("Safe message is: '%.*s'\n", message.length, message.data); @@ -221,7 +220,6 @@ char *argv[]; if (i < 0) { perror("receiving datagram"); (void) krb5_rc_close(rcache); - krb5_xfree(rcache); exit(1); } printf("Received %d bytes\n", i); @@ -234,7 +232,6 @@ char *argv[]; &portforeign_addr)) { com_err(PROGNAME, retval, "while generating port address"); (void) krb5_rc_close(rcache); - krb5_xfree(rcache); exit(1); } @@ -244,13 +241,11 @@ char *argv[]; &message)) { com_err(PROGNAME, retval, "while verifying PRIV message"); (void) krb5_rc_close(rcache); - krb5_xfree(rcache); exit(1); } printf("Decrypted message is: '%.*s'\n", message.length, message.data); (void) krb5_rc_close(rcache); - krb5_xfree(rcache); exit(0); } |