From 4abff760a0e3dcb5757cef9834e394041eeef4c3 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 29 Apr 2003 20:21:48 +0000 Subject: [PATCH] Check HAVE_CYRUS_SASL for sasl_done(). --- clients/tools/ldapsearch.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); } -- 2.39.5