* t_walk_rtree.c (main): Free context at end to allow searching
authorEzra Peisach <epeisach@mit.edu>
Fri, 28 Jan 2005 05:16:34 +0000 (05:16 +0000)
committerEzra Peisach <epeisach@mit.edu>
Fri, 28 Jan 2005 05:16:34 +0000 (05:16 +0000)
        for memory leaks.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17072 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/t_walk_rtree.c

index a3520b7a7a98a52b48586adde708abac16038ce3..4fbecafae82118aee00b73b3a9b642b01cf0be1a 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-28  Ezra Peisach  <epeisach@mit.edu>
+
+       * t_walk_rtree.c (main): Free context at end to allow searching
+       for memory leaks.
+
 2005-01-17  Jeffrey Altman <jaltman@mit.edu>
         * unparse.c: krb5_unparse_name, krb5_unparse_name_ext()
           prevent null pointer dereferencing if either 'name' or 'size'    
index c8b6fb85017469a22d6449a41a0b45110e39c1dc..46611866769f0852be95f0a440b06cdd44d56e07 100644 (file)
@@ -51,6 +51,7 @@ main(int argc, char **argv)
        }
 
        krb5_free_realm_tree(context, tree);
+       krb5_free_context(context);
 
        exit(0);
 }