From 6b98b9f4f7f2e16d8e48081544d857f15bfbf5d0 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 30 Jul 2009 17:12:20 +0000 Subject: [PATCH] memory leak in test code t_authdata Free the krb5_context at the end to release memory. ticket: 6540 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22473 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/t_authdata.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/krb5/krb/t_authdata.c b/src/lib/krb5/krb/t_authdata.c index 5bacf5f64..8b786875f 100644 --- a/src/lib/krb5/krb/t_authdata.c +++ b/src/lib/krb5/krb/t_authdata.c @@ -98,5 +98,6 @@ int main() assert( results[3] == NULL); krb5_free_authdata(context, results); krb5_free_authdata(context, container_out); + krb5_free_context(context); return 0; } -- 2.26.2