prototype.
(cleanup_and_exit) Conditionalize krb5_kt_close on keytab being
non-null.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13415
dc483132-0cff-0310-8789-
dd5450dbe970
* krb524d.c: Include <krb5/adm_proto.h> for krb5_log_init()
prototype.
+ (cleanup_and_exit) Conditionalize krb5_kt_close on keytab being
+ non-null.
2001-06-20 Mitchell Berger <mitchb@mit.edu>
if (use_master && handle) {
(void) kadm5_destroy(handle);
}
- if (use_keytab) krb5_kt_close(context, kt);
+ if (use_keytab &&kt) krb5_kt_close(context, kt);
krb5_free_context(context);
exit(ret);
}