(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:
@@ -313,7 +313,8 @@ config_get_hosts(krb5_context context, struct krb5_krbhst_data *kd,
|
|||||||
kd->flags |= KD_CONFIG_EXISTS;
|
kd->flags |= KD_CONFIG_EXISTS;
|
||||||
for(i = 0; hostlist && hostlist[i] != NULL; i++)
|
for(i = 0; hostlist && hostlist[i] != NULL; i++)
|
||||||
append_host_string(context, kd, hostlist[i], def_port);
|
append_host_string(context, kd, hostlist[i], def_port);
|
||||||
free(hostlist);
|
|
||||||
|
krb5_config_free_strings(hostlist);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user