From 29595912422d71ad684a6eb7e56c627a75f96f6c Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 13 Oct 1997 14:22:45 +0000 Subject: [PATCH] * t_kdb.c (do_testing): Add krb5_free_context This makes it easier for purify testing for memory leaks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10223 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kdb/ChangeLog | 4 ++++ src/lib/kdb/t_kdb.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/lib/kdb/ChangeLog b/src/lib/kdb/ChangeLog index 4b8b822f6..773943219 100644 --- a/src/lib/kdb/ChangeLog +++ b/src/lib/kdb/ChangeLog @@ -1,3 +1,7 @@ +Mon Oct 13 10:18:19 1997 Ezra Peisach + + * t_kdb.c (do_testing): Add krb5_free_context. + Mon Sep 15 15:05:30 1997 Ezra Peisach * keytab.c: (krb5_ktkdb_get_entry): Incoming principal is const. diff --git a/src/lib/kdb/t_kdb.c b/src/lib/kdb/t_kdb.c index 3502edac4..75c0a373d 100644 --- a/src/lib/kdb/t_kdb.c +++ b/src/lib/kdb/t_kdb.c @@ -967,6 +967,9 @@ do_testing(db, passes, verbose, timing, rcases, check, save_db, dontclean, programname); } } + + krb5_free_context(kcontext); + return((kret) ? 1 : 0); } -- 2.26.2