From: Ezra Peisach Date: Tue, 14 Aug 2007 18:11:36 +0000 (+0000) Subject: Free memory leak in do_test() from asprintf integration X-Git-Tag: krb5-1.7-alpha1~961 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=12eb38ba603033d946cf4def4dee6ea7edee3d9d;p=krb5.git Free memory leak in do_test() from asprintf integration git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19821 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/keytab/t_keytab.c b/src/lib/krb5/keytab/t_keytab.c index 08610abac..4212b2e42 100644 --- a/src/lib/krb5/keytab/t_keytab.c +++ b/src/lib/krb5/keytab/t_keytab.c @@ -385,6 +385,8 @@ static void do_test(krb5_context context, const char *prefix, printf("Test on %s passed\n", name); if(delete) unlink(filename); + free(filename); + free(name); }