From e7ef7976ada750de2a537a9a1067c27edda083b1 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Thu, 20 Feb 1997 06:28:30 +0000 Subject: [PATCH] init_ctx.c: krb5_free_context calls krb5_free_ets (currently a no-op) t_kerb.c t_walk_rtree.c: Remove unneeded call to krb5_init_ets git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9930 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/init_ctx.c | 1 + src/lib/krb5/krb/t_kerb.c | 1 - src/lib/krb5/krb/t_walk_rtree.c | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index fe725af54..d43a65dfe 100644 --- a/src/lib/krb5/krb/init_ctx.c +++ b/src/lib/krb5/krb/init_ctx.c @@ -143,6 +143,7 @@ KRB5_DLLIMP void KRB5_CALLCONV krb5_free_context(ctx) krb5_context ctx; { + krb5_free_ets(ctx); krb5_os_free_context(ctx); if (ctx->in_tkt_ktypes) diff --git a/src/lib/krb5/krb/t_kerb.c b/src/lib/krb5/krb/t_kerb.c index 310d0d1d9..45c5e2e2d 100644 --- a/src/lib/krb5/krb/t_kerb.c +++ b/src/lib/krb5/krb/t_kerb.c @@ -135,7 +135,6 @@ main(argc, argv) retval); exit(1); } - krb5_init_ets(ctx); progname = argv[0]; /* Parse arguments. */ diff --git a/src/lib/krb5/krb/t_walk_rtree.c b/src/lib/krb5/krb/t_walk_rtree.c index ca8f4427b..6654b7d2f 100644 --- a/src/lib/krb5/krb/t_walk_rtree.c +++ b/src/lib/krb5/krb/t_walk_rtree.c @@ -18,7 +18,6 @@ main(argc, argv) krb5_context context; krb5_init_context(&context); - krb5_init_ets(context); if (argc < 3 || argc > 4) { fprintf(stderr, -- 2.26.2