(config_get_hosts): free hostlist

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10117 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2001-06-18 16:41:18 +00:00
parent 325a88c567
commit 6e224ff15f

View File

@@ -313,7 +313,8 @@ config_get_hosts(krb5_context context, struct krb5_krbhst_data *kd,
kd->flags |= KD_CONFIG_EXISTS;
for(i = 0; hostlist && hostlist[i] != NULL; i++)
append_host_string(context, kd, hostlist[i], def_port);
free(hostlist);
krb5_config_free_strings(hostlist);
}
static void