]> git.sur5r.net Git - openldap/commitdiff
allow shutdown while syncrepl_del_nonpresent()
authorPierangelo Masarati <ando@openldap.org>
Wed, 29 Aug 2007 18:13:12 +0000 (18:13 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 29 Aug 2007 18:13:12 +0000 (18:13 +0000)
servers/slapd/syncrepl.c

index ee1e37f02f1581dfa933c975b64e93c0487e4895..af5b81d446d2b6c8c1934271c46fbd7aab9a6709 100644 (file)
@@ -2384,6 +2384,10 @@ syncrepl_del_nonpresent(
                        ber_bvfree( np_prev->npe_name );
                        ber_bvfree( np_prev->npe_nname );
                        ch_free( np_prev );
+
+                       if ( slapd_shutdown ) {
+                               break;
+                       }
                }
 
                slap_graduate_commit_csn( op );