From 5313745e771db6cc0fa47e8322cc25af982d0670 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 7 Oct 2008 01:59:52 +0000 Subject: [PATCH] More #5728 fallout --- servers/slapd/overlays/translucent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5