From d0724c769edc9ac011d6a9f4993d417a2764603b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 13 Jan 2002 17:17:29 +0000 Subject: [PATCH] Fix mutex leak in previous commit --- servers/slapd/saslauthz.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c index e2d87f8e8a..e28288511b 100644 --- a/servers/slapd/saslauthz.c +++ b/servers/slapd/saslauthz.c @@ -515,6 +515,8 @@ int slap_sasl_match( char *rule, struct berval *assertDN, char *authc ) scope, /*deref=*/1, /*sizelimit=*/0, /*time=*/0, filter, /*fstr=*/NULL, /*attrs=*/NULL, /*attrsonly=*/0 ); + ldap_pvt_thread_mutex_destroy( &op.o_abandonmutex ); + if (sm.match) rc = LDAP_SUCCESS; else -- 2.39.5