From aa06ed7658e21dd85e8e6dd4f2517800445c18c8 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 13 Nov 1996 03:48:52 +0000 Subject: [PATCH] * init_ctx.c (krb5_init_context): Oops. Initialize kt_default_name to NULL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9398 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 3 +++ src/lib/krb5/krb/init_ctx.c | 1 + 2 files changed, 4 insertions(+) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index e24d782fc..a45b8a985 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,5 +1,8 @@ Tue Nov 12 22:07:33 1996 Tom Yu + * init_ctx.c (krb5_init_context): Oops. Initialize kt_default_name + to NULL. + * init_ctx.c (krb5_free_context): Free kt_default_name if it's non-NULL. diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index e3ed8fe0e..d84d59d07 100644 --- a/src/lib/krb5/krb/init_ctx.c +++ b/src/lib/krb5/krb/init_ctx.c @@ -68,6 +68,7 @@ krb5_init_context(context) goto cleanup; ctx->default_realm = 0; + ctx->kt_default_name = 0; profile_get_integer(ctx->profile, "libdefaults", "clockskew", 0, 5 * 60, &tmp); ctx->clockskew = tmp; -- 2.26.2