projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a629cb9
)
memory leak in test code t_authdata
author
Ezra Peisach
<epeisach@mit.edu>
Thu, 30 Jul 2009 17:12:20 +0000
(17:12 +0000)
committer
Ezra Peisach
<epeisach@mit.edu>
Thu, 30 Jul 2009 17:12:20 +0000
(17:12 +0000)
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
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/t_authdata.c
b/src/lib/krb5/krb/t_authdata.c
index 5bacf5f64f7bdd4364312510e0805ad030be0159..8b786875f5a07f77f7ea886d7149cc79b4b7da2f 100644
(file)
--- 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;
}