]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#7766 Fix previous commit
authorOndřej Kuzník <ondra@mistotebe.net>
Mon, 1 Feb 2021 16:51:56 +0000 (16:51 +0000)
committerOndřej Kuzník <ondra@mistotebe.net>
Mon, 1 Feb 2021 16:51:56 +0000 (16:51 +0000)
servers/slapd/syncrepl.c

index c88811db642922b29ee6049b25c1f2c7110acb5f..4ee32038903a61901a0ea081b9e0bde198bf244a 100644 (file)
@@ -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;