]> git.sur5r.net Git - openldap/commitdiff
ITS#4904 fix delta-sync modlist free
authorHoward Chu <hyc@openldap.org>
Mon, 2 Apr 2007 21:22:43 +0000 (21:22 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 2 Apr 2007 21:22:43 +0000 (21:22 +0000)
servers/slapd/syncrepl.c

index 73838ab068990958380756e5319ea571d2c76492..2913cf5ab8c87ec9918a395b51a8b35ee81e9c63 100644 (file)
@@ -1499,6 +1499,7 @@ syncrepl_message_to_op(
                        op->orm_modlist = modlist;
                        op->o_bd = si->si_wbe;
                        rc = op->o_bd->be_modify( op, &rs );
+                       modlist = op->orm_modlist;
                        Debug( rc ? LDAP_DEBUG_ANY : LDAP_DEBUG_SYNC,
                                "syncrepl_message_to_op: %s be_modify %s (%d)\n", 
                                si->si_ridtxt, op->o_req_dn.bv_val, rc );