From: Theodore Tso Date: Sat, 16 Sep 1995 07:42:04 +0000 (+0000) Subject: Free the context and auth_context before exiting X-Git-Tag: krb5-1.0-beta6~1061 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0713352c63ec19807060ad4581efe7856a7adced;p=krb5.git Free the context and auth_context before exiting git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6802 dc483132-0cff-0310-8789-dd5450dbe970 --- 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); }