Fix: double free

This commit is contained in:
Viktor Dukhovni
2013-05-16 03:00:50 +00:00
committed by Viktor Dukhovni
parent 3f3bcc2731
commit 4ce879c938

View File

@@ -1885,7 +1885,6 @@ _krb5_apply_name_canon_rule(krb5_context context, krb5_name_canon_rule rule,
ret = krb5_build_principal(context, out_princ,
strlen(realm), realm,
sname, new_hostname, (char *)0);
free(new_hostname);
goto out;
break;