projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b8b9c2
)
Free memory leak in do_test() from asprintf integration
author
Ezra Peisach
<epeisach@mit.edu>
Tue, 14 Aug 2007 18:11:36 +0000
(18:11 +0000)
committer
Ezra Peisach
<epeisach@mit.edu>
Tue, 14 Aug 2007 18:11:36 +0000
(18:11 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19821
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/keytab/t_keytab.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/keytab/t_keytab.c
b/src/lib/krb5/keytab/t_keytab.c
index 08610abac5b96d77a8f2ca08013a731daca8ff9c..4212b2e42bb16168728dac5205efe40fbdf0cf0e 100644
(file)
--- 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);
}