Free kadm5 princ policy
This commit is contained in:
@@ -60,6 +60,7 @@ kadm5_free_principal_ent(void *server_handle,
|
||||
kadm5_principal_ent_t princ)
|
||||
{
|
||||
kadm5_server_context *context = server_handle;
|
||||
|
||||
if (princ->principal)
|
||||
krb5_free_principal(context->context, princ->principal);
|
||||
if (princ->mod_name)
|
||||
@@ -76,6 +77,8 @@ kadm5_free_principal_ent(void *server_handle,
|
||||
}
|
||||
if (princ->key_data != NULL)
|
||||
free(princ->key_data);
|
||||
if (princ->policy)
|
||||
free(princ->policy);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user