Skip to content
Snippets Groups Projects
Commit 6b0cd2df authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Revert 1.246.2.23

parent da66b5ef
No related branches found
No related tags found
No related merge requests found
...@@ -569,6 +569,10 @@ dn2entry_retry: ...@@ -569,6 +569,10 @@ dn2entry_retry:
#ifdef SLAP_ZONE_ALLOC #ifdef SLAP_ZONE_ALLOC
slap_zn_runlock(bdb->bi_cache.c_zctx, e); slap_zn_runlock(bdb->bi_cache.c_zctx, e);
#endif #endif
if ( e != e_root ) {
bdb_cache_return_entry_r(bdb, e, &lock);
}
e = NULL;
/* select candidates */ /* select candidates */
if ( op->oq_search.rs_scope == LDAP_SCOPE_BASE ) { if ( op->oq_search.rs_scope == LDAP_SCOPE_BASE ) {
...@@ -591,11 +595,6 @@ cand_retry: ...@@ -591,11 +595,6 @@ cand_retry:
} }
} }
if ( e != e_root ) {
bdb_cache_return_entry_r(bdb, e, &lock);
}
e = NULL;
/* start cursor at beginning of candidates. /* start cursor at beginning of candidates.
*/ */
cursor = 0; cursor = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment