when finished with them.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10338
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Dec 16 11:00:18 1997 Ezra Peisach <epeisach@mit.edu>
+
+ * locate_kdc.c (krb5_locate_kdc): Free hostlist array elements
+ when finished with them.
+
Sat Dec 6 23:12:23 1997 Ezra Peisach <epeisach@mit.edu>
* locate_kdc.c (krb5_locate_kdc): Get rid of extra krb5_xfree
}
if (masterlist)
*nmasters = out - *master_index;
+
+ /* Free the hostlist entry we are looping over. */
+ free(hostlist[i]);
+ hostlist[i] = 0;
}