From ae17e203e8f3054ca2bcba0f08c968a2747b50eb Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 5 Dec 2001 12:03:18 +0000 Subject: [PATCH] * t_ser.c (main): Free context on failure exit route git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14042 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 4 ++++ src/lib/krb5/krb/t_ser.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 1f607302f..07ce4ed7e 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,7 @@ +2001-12-05 Ezra Peisach + + * t_ser.c (main): Free context on failure exit route. + 2001-11-24 Sam Hartman * fwd_tgt.c (krb5_fwd_tgt_creds): Get a session key for the diff --git a/src/lib/krb5/krb/t_ser.c b/src/lib/krb5/krb/t_ser.c index 1bc5f992b..be58044bb 100644 --- a/src/lib/krb5/krb/t_ser.c +++ b/src/lib/krb5/krb/t_ser.c @@ -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); } -- 2.26.2