assertion_message = talloc_asprintf(tctx,
"krb5_get_init_creds_password returned a different principal %s to what was expected %s",
got_principal_string, expected_principal_string);
- krb5_free_unparsed_name(k5_context, got_principal_string);
+ krb5_xfree(got_principal_string);
torture_assert(tctx, krb5_principal_compare(k5_context,
my_creds.client, expected_principal),
assertion_message = talloc_asprintf(tctx,
"krb5_get_init_creds_password returned a different principal %s to what was expected %s",
got_principal_string, expected_principal_string);
- krb5_free_unparsed_name(k5_context, got_principal_string);
+ krb5_xfree(got_principal_string);
torture_assert(tctx, krb5_principal_compare(k5_context,
my_creds.client,
assertion_message = talloc_asprintf(tctx,
"krb5_get_init_creds_password returned a different principal %s to what was expected %s",
got_principal_string, expected_principal_string);
- krb5_free_unparsed_name(k5_context, got_principal_string);
+ krb5_xfree(got_principal_string);
torture_assert(tctx, krb5_principal_compare(k5_context,
my_creds.client,