From 974e888dfa4ea3ee4bcb1f03ea0c9ac146edf39f Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 9 Nov 1995 02:53:04 +0000 Subject: [PATCH] Fix stupid typo when creating function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7069 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/free/f_einfo.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/free/f_einfo.c b/src/lib/krb5/free/f_einfo.c index 064d73184..b9444fcbd 100644 --- a/src/lib/krb5/free/f_einfo.c +++ b/src/lib/krb5/free/f_einfo.c @@ -32,8 +32,11 @@ void krb5_free_etype_info(context, info) { int i; - for(i=0; info[i] != NULL; i++) - ktest_destroy_etype_info_entry(info[i]); + for(i=0; info[i] != NULL; i++) { + if (info[i]->salt) + free(info[i]->salt); + free(info[i]); + } free(info); } -- 2.26.2