From 9d0da5e81c522e0fdcf2e48c0f7e32274f7bbd59 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 28 Jan 2005 05:16:34 +0000 Subject: [PATCH] * 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 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/t_walk_rtree.c | 1 + 2 files changed, 6 insertions(+) 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); } -- 2.26.2