From: Todd C. Miller Date: Mon, 17 Dec 2007 01:02:44 +0000 (+0000) Subject: ld -> ldap_conn X-Git-Tag: SUDO_1_7_0~307 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed88a812ecd3006d71a98064a1ae8f230ea55bbf;p=sudo ld -> ldap_conn --- diff --git a/sudo.c b/sudo.c index 70a4cf2c8..79aa7a955 100644 --- a/sudo.c +++ b/sudo.c @@ -1355,9 +1355,9 @@ cleanup(gotsignal) sudo_endgrent(); } #ifdef HAVE_LDAP - if (ld != NULL) { - sudo_ldap_close(ld); - ld = NULL; + if (ldap_conn != NULL) { + sudo_ldap_close(ldap_conn); + ldap_conn = NULL; } #endif }