Fix stupid typo when creating function
authorTheodore Tso <tytso@mit.edu>
Thu, 9 Nov 1995 02:53:04 +0000 (02:53 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 9 Nov 1995 02:53:04 +0000 (02:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7069 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/free/f_einfo.c

index 064d7318417f45f357586d0a0efa0e5477708f3c..b9444fcbde91bc1d7cebfb2ac4d6d6e452c39d1b 100644 (file)
@@ -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);
 }