Call krb5_db_fini to cleanup the db_context
authorRichard Basch <probe@mit.edu>
Thu, 20 Feb 1997 06:13:56 +0000 (06:13 +0000)
committerRichard Basch <probe@mit.edu>
Thu, 20 Feb 1997 06:13:56 +0000 (06:13 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9923 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v4server/admin_server.c

index 0abc7d822290a647e047bb7e4924ffbb26ffeb58..ac4530359335623b681d1187a20c759be4f744f1 100644 (file)
@@ -210,6 +210,7 @@ char *argv[];
     if (errval = krb5_db_set_lockmode(kadm_context, TRUE)) {
        com_err(argv[0], errval, "while setting db to nonblocking");
        close_syslog();
+       krb5_db_fini(kadm_context);
        byebye();
        exit(1);
     }