From: Howard Chu Date: Tue, 29 Apr 2003 20:21:48 +0000 (+0000) Subject: Check HAVE_CYRUS_SASL for sasl_done(). X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~213 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4abff760a0e3dcb5757cef9834e394041eeef4c3;p=openldap Check HAVE_CYRUS_SASL for sasl_done(). --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index c27528cb83..a362d2b453 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -916,7 +916,9 @@ getNextPage: #endif ldap_unbind( ld ); +#ifdef HAVE_CYRUS_SASL sasl_done(); +#endif ldap_pvt_tls_destroy(); return( rc ); }