From: Howard Chu Date: Mon, 2 Apr 2007 21:22:43 +0000 (+0000) Subject: ITS#4904 fix delta-sync modlist free X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~565 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=64000c5fc7d41db730676779d947ade0a9bd79d7;p=openldap ITS#4904 fix delta-sync modlist free --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 73838ab068..2913cf5ab8 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -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 );