From: Ezra Peisach Date: Wed, 23 Feb 2011 11:38:33 +0000 (+0000) Subject: Fix memory leak in t_expire_warn X-Git-Tag: krb5-1.10-alpha1~583 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=96d4b3f4cb068b8785b36a1fc78d0a468cbd725c;p=krb5.git Fix memory leak in t_expire_warn Free context. Allows one to look for new leaks introduced in other pathways. ticket: 6872 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24650 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/t_expire_warn.c b/src/lib/krb5/krb/t_expire_warn.c index 6e8d87ce1..12cdec143 100644 --- a/src/lib/krb5/krb/t_expire_warn.c +++ b/src/lib/krb5/krb/t_expire_warn.c @@ -86,5 +86,6 @@ main(int argc, char **argv) krb5_get_init_creds_opt_free(ctx, opt); krb5_free_principal(ctx, client); krb5_free_cred_contents(ctx, &creds); + krb5_free_context(ctx); return 0; }