From: Ezra Peisach Date: Fri, 28 Jan 2005 05:16:34 +0000 (+0000) Subject: * t_walk_rtree.c (main): Free context at end to allow searching X-Git-Tag: ms-bug-test-20060525~360 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9d0da5e81c522e0fdcf2e48c0f7e32274f7bbd59;p=krb5.git * t_walk_rtree.c (main): Free context at end to allow searching for memory leaks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17072 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index a3520b7a7..4fbecafae 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2005-01-28 Ezra Peisach + + * t_walk_rtree.c (main): Free context at end to allow searching + for memory leaks. + 2005-01-17 Jeffrey Altman * unparse.c: krb5_unparse_name, krb5_unparse_name_ext() prevent null pointer dereferencing if either 'name' or 'size' diff --git a/src/lib/krb5/krb/t_walk_rtree.c b/src/lib/krb5/krb/t_walk_rtree.c index c8b6fb850..466118667 100644 --- a/src/lib/krb5/krb/t_walk_rtree.c +++ b/src/lib/krb5/krb/t_walk_rtree.c @@ -51,6 +51,7 @@ main(int argc, char **argv) } krb5_free_realm_tree(context, tree); + krb5_free_context(context); exit(0); }