mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Add free_userspecs() and free_default() and use them instead of
looping over the lists and calling free_userspec() and free_default().
This commit is contained in:
@@ -270,7 +270,9 @@ void free_member(struct member *m);
|
||||
void free_members(struct member_list *members);
|
||||
void free_privilege(struct privilege *priv);
|
||||
void free_userspec(struct userspec *us);
|
||||
void free_userspecs(struct userspec_list *usl);
|
||||
void free_default(struct defaults *def, struct member_list **binding);
|
||||
void free_defaults(struct defaults_list *defs);
|
||||
|
||||
/* match_addr.c */
|
||||
bool addr_matches(char *n);
|
||||
|
Reference in New Issue
Block a user