From e85ca5d49a153b2cc969fbcd3f231136be8d5d92 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 3 Mar 2010 23:36:29 +0000 Subject: [PATCH] ITS#6484 don't bypass other overlays' entry_release handler --- servers/slapd/overlays/rwm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/servers/slapd/overlays/rwm.c b/servers/slapd/overlays/rwm.c index 3c6f581c38..edae72b043 100644 --- a/servers/slapd/overlays/rwm.c +++ b/servers/slapd/overlays/rwm.c @@ -1512,7 +1512,9 @@ rwm_send_entry( Operation *op, SlapReply *rs ) goto fail; } - overlay_entry_release_ov( op, rs->sr_entry, 0, on ); + op->o_bd->bd_info = (BackendInfo *)on->on_info; + be_entry_release_r( op, rs->sr_entry ); + op->o_bd->bd_info = (BackendInfo *)on; } rs->sr_entry = e; -- 2.39.5