]> git.sur5r.net Git - openldap/commitdiff
Fix mutex leak in previous commit
authorHoward Chu <hyc@openldap.org>
Sun, 13 Jan 2002 17:17:29 +0000 (17:17 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 13 Jan 2002 17:17:29 +0000 (17:17 +0000)
servers/slapd/saslauthz.c

index e2d87f8e8a53a8725bdbe486de3ed8f6a10dc392..e28288511b73a8bb970ea52a49946e24095a58ff 100644 (file)
@@ -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