catch failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25202 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -248,9 +248,11 @@ kadm5_s_get_principal(void *server_handle,
|
||||
if (ret == 0) {
|
||||
ret = add_tl_data(out, KRB5_TL_PASSWORD, pw, strlen(pw) + 1);
|
||||
free(pw);
|
||||
} else {
|
||||
kadm5_free_principal_ent(context, out);
|
||||
goto out;
|
||||
}
|
||||
krb5_clear_error_message(context->context);
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
ret = hdb_entry_get_pkinit_acl(&ent.entry, &acl);
|
||||
|
Reference in New Issue
Block a user