]> git.sur5r.net Git - openldap/commitdiff
ITS#7354 fix delta-sync mmr crash
authorHoward Chu <hyc@openldap.org>
Fri, 17 Aug 2012 01:08:56 +0000 (18:08 -0700)
committerHoward Chu <hyc@openldap.org>
Fri, 17 Aug 2012 01:08:56 +0000 (18:08 -0700)
servers/slapd/syncrepl.c

index 76ba66ebb7796515f078a4dea206dcb88de5b251..7c07b90873d859fdf57189edc8bb92c9c9dd4448 100644 (file)
@@ -1962,6 +1962,7 @@ drop:
                                }
                        }
                        slap_mods_free( newmods, 1 );
+                       rx->rx_mods = oldmods;
                }
        }
        return LDAP_SUCCESS;