From 446c579a3f6b3eca6ad618adf1b3c2fc257f10db Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 28 Apr 1995 17:02:10 +0000 Subject: [PATCH] * init_ctx.c (krb5_free_context): Extra semicolon meant the etypes field in the context was never being freed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5606 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/init_ctx.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index dcabb9043..ec170df71 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 28 08:36:03 1995 Theodore Y. Ts'o + + * init_ctx.c (krb5_free_context): Extra semicolon meant the etypes + field in the context was never being freed. + Fri Apr 28 01:44:51 1995 Chris Provenzano (proven@mit.edu) * send_tgs.c (krb5_send_tgs()), gc_via_tkt.c (krb5_get_cred_via_tkt()): diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index 3ab368b09..7b69be4f3 100644 --- a/src/lib/krb5/krb/init_ctx.c +++ b/src/lib/krb5/krb/init_ctx.c @@ -64,7 +64,7 @@ krb5_free_context(ctx) { krb5_os_free_context(ctx); - if (ctx->etypes); + if (ctx->etypes) free(ctx->etypes); if (ctx->default_realm) -- 2.26.2