summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/keytab/t_keytab.c
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2007-08-14 18:11:36 +0000
committerEzra Peisach <epeisach@mit.edu>2007-08-14 18:11:36 +0000
commit12eb38ba603033d946cf4def4dee6ea7edee3d9d (patch)
tree9dbad3b86761d23c2e464de04cfc1da91d177fda /src/lib/krb5/keytab/t_keytab.c
parent2b8b9c28ece57244ffc9a2094225c104d46a035e (diff)
downloadkrb5-12eb38ba603033d946cf4def4dee6ea7edee3d9d.tar.gz
krb5-12eb38ba603033d946cf4def4dee6ea7edee3d9d.tar.xz
krb5-12eb38ba603033d946cf4def4dee6ea7edee3d9d.zip
Free memory leak in do_test() from asprintf integration
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19821 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/keytab/t_keytab.c')
-rw-r--r--src/lib/krb5/keytab/t_keytab.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/krb5/keytab/t_keytab.c b/src/lib/krb5/keytab/t_keytab.c
index 08610abac5..4212b2e42b 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);
}