(krb5_mk_req): use krb5_free_host_realm

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7123 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-10-10 01:23:04 +00:00
parent 91bd98d2c4
commit 259eaea46c

View File

@@ -85,9 +85,7 @@ krb5_mk_req(krb5_context context,
real_hostname,
NULL);
free (real_hostname);
for (p = realms; *p; ++p)
free (*p);
free (realms);
krb5_free_host_realm (context, realms);
if (r) {
krb5_free_principal (context, this_cred.client);