From: Theodore Tso Date: Thu, 9 Nov 1995 02:53:04 +0000 (+0000) Subject: Fix stupid typo when creating function X-Git-Tag: krb5-1.0-beta6~833 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=974e888dfa4ea3ee4bcb1f03ea0c9ac146edf39f;p=krb5.git Fix stupid typo when creating function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7069 dc483132-0cff-0310-8789-dd5450dbe970 --- 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); }