]> git.sur5r.net Git - openldap/commitdiff
Fix entry_release backend swapping
authorHoward Chu <hyc@openldap.org>
Mon, 6 Dec 2004 22:13:19 +0000 (22:13 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 6 Dec 2004 22:13:19 +0000 (22:13 +0000)
servers/slapd/overlays/glue.c

index 07898ed12d73d462f8d95a1f60da53287333fe71..ea11792f07c4117acb7ced65b9b2d90bb34d9453 100644 (file)
@@ -465,6 +465,7 @@ glue_entry_release_rw (
        int rc;
 
        b0 = op->o_bd;
+       b2 = *op->o_bd;
        b2.bd_info = (BackendInfo *)glue_tool_inst( op->o_bd->bd_info );
        op->o_bd = glue_back_select (&b2, &e->e_nname);