Adapt to pwutil.c

This commit is contained in:
Todd C. Miller
2005-01-05 01:10:16 +00:00
parent 3c58acdc02
commit a5d9296d25
5 changed files with 34 additions and 32 deletions

View File

@@ -493,6 +493,7 @@ send_mail(line)
/* Close password, group and other fds so we don't leak. */
sudo_endpwent();
sudo_endgrent();
pwcache_destroy();
closefrom(STDERR_FILENO + 1);
/*