* init_ctx.c (krb5_free_context): Extra semicolon meant the etypes
authorTheodore Tso <tytso@mit.edu>
Fri, 28 Apr 1995 17:02:10 +0000 (17:02 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 28 Apr 1995 17:02:10 +0000 (17:02 +0000)
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
src/lib/krb5/krb/init_ctx.c

index dcabb904302281ca0a47716d4ab7809ec6d2df12..ec170df7176764dd35378ce41c89ce9f7455c3be 100644 (file)
@@ -1,3 +1,8 @@
+Fri Apr 28 08:36:03 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
+
+       * 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()):
index 3ab368b0925b5c2b748ec8195e08a4652bf5fd8a..7b69be4f3f59bb58148f1e67a79c558030ccafed 100644 (file)
@@ -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)