]> granicus.if.org Git - sudo/commit
Add free_default() to free a struct defaults pointer so we have a
authorTodd C. Miller <Todd.Miller@sudo.ws>
Wed, 21 Mar 2018 18:11:19 +0000 (12:11 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Wed, 21 Mar 2018 18:11:19 +0000 (12:11 -0600)
commitbc5e2d06a7a39e8bed61b57285a8e2af35d25448
tree2e3e5065241333585671c4b5065982600366f821
parentb6c53ac84657356370abc4a5cc6241db0e51c9b6
Add free_default() to free a struct defaults pointer so we have a
single place where we free the defaults.  A pointer to the previous
Default's binding may be passed in to avoid freeing an already free
binding.
plugins/sudoers/defaults.c
plugins/sudoers/gram.c
plugins/sudoers/gram.y
plugins/sudoers/parse.h