ITS#10185 autogroup: fix missing mutex_unlock

Broken in 95e7a7be16
This commit is contained in:
Howard Chu 2024-03-19 16:20:56 +00:00
parent 854f64202e
commit c932ad19f0

View file

@ -998,8 +998,10 @@ autogroup_del_entry_cb( Operation *op, SlapReply *rs )
ldap_pvt_thread_mutex_unlock( &age->age_mutex );
}
if ( !aa->e )
if ( !aa->e ) {
ldap_pvt_thread_mutex_unlock( &agi->agi_mutex );
goto done;
}
/* Check if the entry matches any of the groups.
If yes, we can delete the entry from that group. */