Fix: double free
This commit is contained in:

committed by
Viktor Dukhovni

parent
3f3bcc2731
commit
4ce879c938
@@ -1885,7 +1885,6 @@ _krb5_apply_name_canon_rule(krb5_context context, krb5_name_canon_rule rule,
|
|||||||
ret = krb5_build_principal(context, out_princ,
|
ret = krb5_build_principal(context, out_princ,
|
||||||
strlen(realm), realm,
|
strlen(realm), realm,
|
||||||
sname, new_hostname, (char *)0);
|
sname, new_hostname, (char *)0);
|
||||||
free(new_hostname);
|
|
||||||
goto out;
|
goto out;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user