From 8fc04eb47b194030dd60337f13b3f25ad804670f Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Tue, 7 Oct 2008 02:05:27 +0000 Subject: [PATCH] More for ITS#5728 --- servers/slapd/overlays/rwm.c | 2 +- servers/slapd/overlays/translucent.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/servers/slapd/overlays/rwm.c b/servers/slapd/overlays/rwm.c index 300476dac0..8236a6516e 100644 --- a/servers/slapd/overlays/rwm.c +++ b/servers/slapd/overlays/rwm.c @@ -1367,7 +1367,7 @@ rwm_send_entry( Operation *op, SlapReply *rs ) (void)rwm_attrs( op, rs, &e->e_attrs, 1 ); if ( rs->sr_flags & REP_ENTRY_MUSTRELEASE ) { - be_entry_release_rw( op, rs->sr_entry, 0 ); + overlay_entry_release_ov( op, rs->sr_entry, 0, on ); } rs->sr_entry = e; diff --git a/servers/slapd/overlays/translucent.c b/servers/slapd/overlays/translucent.c index 73573bca79..60dd7d02dd 100644 --- a/servers/slapd/overlays/translucent.c +++ b/servers/slapd/overlays/translucent.c @@ -692,7 +692,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; @@ -726,7 +726,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; @@ -769,7 +769,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