From: Ondřej Kuzník Date: Mon, 1 Feb 2021 16:51:56 +0000 (+0000) Subject: ITS#7766 Fix previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_5_1ALPHA~11^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4da575d451618fc6ff893c8a38e0e10974e3e35b;p=thirdparty%2Fopenldap.git ITS#7766 Fix previous commit --- 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;