init_ctx.c: krb5_free_context calls krb5_free_ets (currently a no-op)
authorRichard Basch <probe@mit.edu>
Thu, 20 Feb 1997 06:28:30 +0000 (06:28 +0000)
committerRichard Basch <probe@mit.edu>
Thu, 20 Feb 1997 06:28:30 +0000 (06:28 +0000)
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
src/lib/krb5/krb/t_kerb.c
src/lib/krb5/krb/t_walk_rtree.c

index fe725af54c6b5349665dac7637307c0518414c92..d43a65dfe1a2ec96cfc6566cbb8c2c0e34192c93 100644 (file)
@@ -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)
index 310d0d1d9a87ce04c978b36436a34391a5cd0860..45c5e2e2d1721792ff70459a88d3be53a5b3f989 100644 (file)
@@ -135,7 +135,6 @@ main(argc, argv)
                retval);
        exit(1);
     }
-    krb5_init_ets(ctx);
     progname = argv[0];
 
      /* Parse arguments. */
index ca8f4427b5795d757c9b2aaaac976e9c22efd664..6654b7d2fe817184a2db8121f0bac07632295f48 100644 (file)
@@ -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,