diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index c88811db64..4ee3203890 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -5363,7 +5363,6 @@ void syncrepl_diff_entry( Operation *op, Attribute *old, Attribute *new, while ( old ) { Modifications *mod = ch_malloc( sizeof( Modifications ) ); - mod = ch_malloc( sizeof( Modifications ) ); mod->sml_op = LDAP_MOD_DELETE; mod->sml_flags = 0; mod->sml_desc = old->a_desc;