From: Ezra Peisach Date: Thu, 30 Jul 2009 01:07:03 +0000 (+0000) Subject: Fix memory leak by release context at end of test code X-Git-Tag: krb5-1.8-alpha1~411 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a629cb93ba230133b84057d93f03b92788c284aa;p=krb5.git Fix memory leak by release context at end of test code ticket: 6539 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22470 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/t_etypes.c b/src/lib/krb5/krb/t_etypes.c index 648a7eeb1..0d89fd0af 100644 --- a/src/lib/krb5/krb/t_etypes.c +++ b/src/lib/krb5/krb/t_etypes.c @@ -196,6 +196,9 @@ main(int argc, char **argv) free(list); } } + + krb5_free_context(ctx); + return 0; }