projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7119d4
)
Fix memory leak in t_expire_warn
author
Ezra Peisach
<epeisach@mit.edu>
Wed, 23 Feb 2011 11:38:33 +0000
(11:38 +0000)
committer
Ezra Peisach
<epeisach@mit.edu>
Wed, 23 Feb 2011 11:38:33 +0000
(11:38 +0000)
Free context. Allows one to look for new leaks introduced in other
pathways.
ticket: 6872
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24650
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/t_expire_warn.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/t_expire_warn.c
b/src/lib/krb5/krb/t_expire_warn.c
index 6e8d87ce14e153501f5519ed47ab2a6a9f3fe13c..12cdec143c8201ae8371ccd2338508f81eb4c923 100644
(file)
--- a/
src/lib/krb5/krb/t_expire_warn.c
+++ b/
src/lib/krb5/krb/t_expire_warn.c
@@
-86,5
+86,6
@@
main(int argc, char **argv)
krb5_get_init_creds_opt_free(ctx, opt);
krb5_free_principal(ctx, client);
krb5_free_cred_contents(ctx, &creds);
+ krb5_free_context(ctx);
return 0;
}