]> git.sur5r.net Git - openldap/commitdiff
ITS#4695 fix modrdn newSup
authorHoward Chu <hyc@openldap.org>
Thu, 5 Oct 2006 03:56:23 +0000 (03:56 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 5 Oct 2006 03:56:23 +0000 (03:56 +0000)
servers/slapd/syncrepl.c

index 6906faff46a683e7116c5f1d0d133cea6f5dbdcd..142ae86cb5dd662fba20d09b8a973f4784417c8c 100644 (file)
@@ -1795,6 +1795,9 @@ retry_add:;
                                dnParent( &entry->e_name, &newp );
                                op->orr_newSup = &newp;
                                op->orr_nnewSup = &nnewp;
+                       } else {
+                               op->orr_newSup = NULL;
+                               op->orr_nnewSup = NULL;
                        }
                        op->orr_deleteoldrdn = 0;
                        op->orr_modlist = NULL;