From 0713352c63ec19807060ad4581efe7856a7adced Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sat, 16 Sep 1995 07:42:04 +0000 Subject: [PATCH] Free the context and auth_context before exiting git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6802 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/simple/server/ChangeLog | 5 +++++ src/appl/simple/server/sim_server.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/appl/simple/server/ChangeLog b/src/appl/simple/server/ChangeLog index 5f877dd7e..0b6d2e895 100644 --- a/src/appl/simple/server/ChangeLog +++ b/src/appl/simple/server/ChangeLog @@ -1,3 +1,8 @@ +Sat Sep 16 03:41:40 1995 Theodore Y. Ts'o + + * sim_server.c (main): Free the context and auth_context before + exiting. + Fri Sep 15 14:31:06 1995 Theodore Y. Ts'o * sim_server.c: Improved (and changed) input argument handling, to diff --git a/src/appl/simple/server/sim_server.c b/src/appl/simple/server/sim_server.c index 8b1571593..087e4e23a 100644 --- a/src/appl/simple/server/sim_server.c +++ b/src/appl/simple/server/sim_server.c @@ -264,5 +264,8 @@ char *argv[]; } printf("Decrypted message is: '%.*s'\n", message.length, message.data); + krb5_auth_con_free(context, auth_context); + krb5_free_context(context); + exit(0); } -- 2.26.2