From: Theodore Tso Date: Fri, 28 Apr 1995 17:02:10 +0000 (+0000) Subject: * init_ctx.c (krb5_free_context): Extra semicolon meant the etypes X-Git-Tag: krb5-1.0-beta5~146 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=446c579a3f6b3eca6ad618adf1b3c2fc257f10db;p=krb5.git * 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 --- 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)