From: Theodore Tso Date: Fri, 24 Dec 1993 22:53:05 +0000 (+0000) Subject: krb5_free_rcache now free's replay cache X-Git-Tag: krb5-1.0-beta3~67 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3255a12307a4f3a5727ac03a590055d4cf5d70ca;p=krb5.git krb5_free_rcache now free's replay cache git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3281 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/simple/server/sim_server.c b/src/appl/simple/server/sim_server.c index dce8ce3cf..ffb9a11bf 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); }