(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:
@@ -85,9 +85,7 @@ krb5_mk_req(krb5_context context,
|
|||||||
real_hostname,
|
real_hostname,
|
||||||
NULL);
|
NULL);
|
||||||
free (real_hostname);
|
free (real_hostname);
|
||||||
for (p = realms; *p; ++p)
|
krb5_free_host_realm (context, realms);
|
||||||
free (*p);
|
|
||||||
free (realms);
|
|
||||||
|
|
||||||
if (r) {
|
if (r) {
|
||||||
krb5_free_principal (context, this_cred.client);
|
krb5_free_principal (context, this_cred.client);
|
||||||
|
Reference in New Issue
Block a user