]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#4904 fix from HEAD delta-sync modlist free
authorHoward Chu <hyc@openldap.org>
Mon, 2 Apr 2007 21:27:36 +0000 (21:27 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 2 Apr 2007 21:27:36 +0000 (21:27 +0000)
servers/slapd/syncrepl.c

index ffe7323455228f877ac6794819a00a270f990f11..de124ea18c25923d129da2088a3b0b0055db0f3a 100644 (file)
@@ -1382,6 +1382,7 @@ syncrepl_message_to_op(
                } else {
                        op->orm_modlist = modlist;
                        rc = op->o_bd->be_modify( op, &rs );
+                       modlist = op->orm_modlist;
                        Debug( rc ? LDAP_DEBUG_ANY : LDAP_DEBUG_SYNC,
                                "syncrepl_message_to_op: rid %03d be_modify %s (%d)\n", 
                                si->si_rid, op->o_req_dn.bv_val, rc );