]> git.sur5r.net Git - openldap/commitdiff
Fix syncinfo reference after free
authorHoward Chu <hyc@openldap.org>
Sat, 24 May 2003 06:50:48 +0000 (06:50 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 24 May 2003 06:50:48 +0000 (06:50 +0000)
servers/slapd/config.c

index 20962744a97ce72c1e6d024c28f2c37411290286..e3b04a9023ea7facf008feecd52bce6bb7da320b 100644 (file)
@@ -2710,9 +2710,8 @@ add_syncrepl(
                        si->mastername == NULL ? "(null)" : si->mastername,
                        si->masterport, 0 );
 #endif
+               si->be = be;
        }
-
-       si->be = be;
 }
 
 #define GOT_ID                 0x0001