From: Ezra Peisach Date: Wed, 5 Dec 2001 12:03:18 +0000 (+0000) Subject: * t_ser.c (main): Free context on failure exit route X-Git-Tag: krb5-1.3-alpha1~926 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae17e203e8f3054ca2bcba0f08c968a2747b50eb;p=krb5.git * 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 --- 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); }