Plug memory leak when an I/O plugin is specified in sudo.conf

but the I/O plugin is not configured.
This commit is contained in:
Todd C. Miller
2018-04-17 13:41:44 -06:00
parent 523f0eeeab
commit 18e06825fb
3 changed files with 45 additions and 14 deletions

View File

@@ -86,9 +86,9 @@ struct io_plugin_1_1 {
struct plugin_container {
TAILQ_ENTRY(plugin_container) entries;
struct sudo_conf_debug_file_list *debug_files;
const char *name;
char *name;
char *path;
char * const *options;
char **options;
void *handle;
int debug_instance;
union {