From: Howard Chu Date: Wed, 3 Mar 2010 23:36:29 +0000 (+0000) Subject: ITS#6484 don't bypass other overlays' entry_release handler X-Git-Tag: MIGRATION_CVS2GIT~674 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e85ca5d49a153b2cc969fbcd3f231136be8d5d92;p=openldap ITS#6484 don't bypass other overlays' entry_release handler --- 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;