Free up parser data structures in sudo_file_close().

This commit is contained in:
Todd C. Miller
2008-01-05 18:26:42 +00:00
parent 53aec6601e
commit 56d193b29b

2
gram.y
View File

@@ -671,7 +671,7 @@ init_parser(path, quiet)
init_aliases();
efree(sudoers);
sudoers = estrdup(path);
sudoers = path ? estrdup(path) : NULL;
parse_error = FALSE;
errorlineno = -1;