Commit d0724c76 authored by Howard Chu's avatar Howard Chu
Browse files

Fix mutex leak in previous commit

parent f20991de
...@@ -515,6 +515,8 @@ int slap_sasl_match( char *rule, struct berval *assertDN, char *authc ) ...@@ -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, scope, /*deref=*/1, /*sizelimit=*/0, /*time=*/0, filter, /*fstr=*/NULL,
/*attrs=*/NULL, /*attrsonly=*/0 ); /*attrs=*/NULL, /*attrsonly=*/0 );
ldap_pvt_thread_mutex_destroy( &op.o_abandonmutex );
if (sm.match) if (sm.match)
rc = LDAP_SUCCESS; rc = LDAP_SUCCESS;
else else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment