kadm5_free_name_list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3858 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -81,3 +81,14 @@ kadm5_free_principal_ent(void *server_handle,
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
kadm5_free_name_list(void *server_handle,
|
||||
char **names,
|
||||
int *count)
|
||||
{
|
||||
int i;
|
||||
for(i = 0; i < *count; i++)
|
||||
free(names[i]);
|
||||
free(names);
|
||||
*count = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user