2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 22:35:10 +00:00

Call cleanup() before exit in log_error() instead of calling

sudo_ldap_close() directly.  ldap_conn can now be static to sudo.c
This commit is contained in:
Todd C. Miller
2007-12-17 12:28:51 +00:00
parent ed88a812ec
commit ff0a538d04
3 changed files with 2 additions and 6 deletions

2
sudo.c
View File

@@ -150,7 +150,7 @@ char *login_style;
sigaction_t saved_sa_int, saved_sa_quit, saved_sa_tstp, saved_sa_chld;
static char *runas_user;
static char *runas_group;
void *ldap_conn;
static void *ldap_conn;
int
main(argc, argv, envp)