* t_ser.c (main): Free context on failure exit route
authorEzra Peisach <epeisach@mit.edu>
Wed, 5 Dec 2001 12:03:18 +0000 (12:03 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 5 Dec 2001 12:03:18 +0000 (12:03 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14042 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/t_ser.c

index 1f607302fca98db0c0ab81092dbc2916360b495e..07ce4ed7e7157e1d12fbebe28b0936b25048025e 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-05  Ezra Peisach  <epeisach@mit.edu>
+
+       * t_ser.c (main): Free context on failure exit route.
+
  2001-11-24  Sam Hartman  <hartmans@mit.edu>
  
        * fwd_tgt.c (krb5_fwd_tgt_creds): Get a session key for the
index 1bc5f992b37b5bfbde74724468b620f45945fcd6..be58044bb7048fcbe6a50167d8bb364c1977efba 100644 (file)
@@ -773,5 +773,6 @@ main(argc, argv)
     exit(0);
 fail:
     com_err(argv[0], kret, "--- test %cfailed", ch_err);
+    krb5_free_context(kcontext);
     exit(1);
 }