From: Howard Chu Date: Sun, 13 Jan 2002 17:17:29 +0000 (+0000) Subject: Fix mutex leak in previous commit X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~159 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d0724c769edc9ac011d6a9f4993d417a2764603b;p=openldap Fix mutex leak in previous commit --- 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