projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d2b244
)
Fix stupid typo when creating function
author
Theodore Tso
<tytso@mit.edu>
Thu, 9 Nov 1995 02:53:04 +0000
(
02:53
+0000)
committer
Theodore 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
patch
|
blob
|
history
diff --git
a/src/lib/krb5/free/f_einfo.c
b/src/lib/krb5/free/f_einfo.c
index 064d7318417f45f357586d0a0efa0e5477708f3c..b9444fcbde91bc1d7cebfb2ac4d6d6e452c39d1b 100644
(file)
--- 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);
}