From 4da575d451618fc6ff893c8a38e0e10974e3e35b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Mon, 1 Feb 2021 16:51:56 +0000 Subject: [PATCH] ITS#7766 Fix previous commit --- servers/slapd/syncrepl.c | 1 - 1 file changed, 1 deletion(-) 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;