mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
force entry release as appropriate (ITS#6081)
This commit is contained in:
parent
85b47ab0e7
commit
fd609f3299
@ -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 New Issue
Block a user