From: Howard Chu Date: Tue, 7 Oct 2008 01:59:52 +0000 (+0000) Subject: More #5728 fallout X-Git-Tag: ACLCHECK_0~1284 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5313745e771db6cc0fa47e8322cc25af982d0670;p=openldap More #5728 fallout --- diff --git a/servers/slapd/overlays/translucent.c b/servers/slapd/overlays/translucent.c index a5b4e6a80b..75b2d2012e 100644 --- a/servers/slapd/overlays/translucent.c +++ b/servers/slapd/overlays/translucent.c @@ -829,7 +829,7 @@ static int translucent_search_cb(Operation *op, SlapReply *rs) { if ( re ) { if ( rs->sr_flags & REP_ENTRY_MUSTRELEASE ) { rs->sr_flags ^= REP_ENTRY_MUSTRELEASE; - be_entry_release_r( op, rs->sr_entry ); + overlay_entry_release_ov( op, rs->sr_entry, 0, on ); } if ( rs->sr_flags & REP_ENTRY_MUSTBEFREED ) { rs->sr_flags ^= REP_ENTRY_MUSTBEFREED; @@ -863,7 +863,7 @@ static int translucent_search_cb(Operation *op, SlapReply *rs) { re = entry_dup( rs->sr_entry ); if ( rs->sr_flags & REP_ENTRY_MUSTRELEASE ) { rs->sr_flags ^= REP_ENTRY_MUSTRELEASE; - be_entry_release_r( op, rs->sr_entry ); + overlay_entry_release_ov( op, rs->sr_entry, 0, on ); } if ( rs->sr_flags & REP_ENTRY_MUSTBEFREED ) { rs->sr_flags ^= REP_ENTRY_MUSTBEFREED; @@ -906,7 +906,7 @@ static int translucent_search_cb(Operation *op, SlapReply *rs) { if ( tc->step & LCL_SIDE ) { if ( rs->sr_flags & REP_ENTRY_MUSTRELEASE ) { rs->sr_flags ^= REP_ENTRY_MUSTRELEASE; - be_entry_release_r( op, rs->sr_entry ); + overlay_entry_release_ov( op, rs->sr_entry, 0, on ); } if ( rs->sr_flags & REP_ENTRY_MUSTBEFREED ) { rs->sr_flags ^= REP_ENTRY_MUSTBEFREED;