mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
force entry release as appropriate (ITS#6081)
This commit is contained in:
parent
85b47ab0e7
commit
fd609f3299
1 changed files with 2 additions and 0 deletions
|
|
@ -879,6 +879,8 @@ rwm_entry_get_rw( Operation *op, struct berval *ndn,
|
|||
op2.ors_attrs = slap_anlist_all_attributes;
|
||||
rc = op2.o_bd->bd_info->bi_entry_get_rw( &op2, &mndn, oc, at, rw, ep );
|
||||
if ( rc == LDAP_SUCCESS && *ep != NULL ) {
|
||||
/* we assume be_entry_release() needs to be called */
|
||||
rs.sr_flags = REP_ENTRY_MUSTRELEASE;
|
||||
rs.sr_entry = *ep;
|
||||
|
||||
/* duplicate & release */
|
||||
|
|
|
|||
Loading…
Reference in a new issue