]> git.sur5r.net Git - openldap/commitdiff
More cleanup for previous slapadd tweaks
authorHoward Chu <hyc@openldap.org>
Thu, 17 Nov 2011 22:21:18 +0000 (14:21 -0800)
committerHoward Chu <hyc@openldap.org>
Thu, 17 Nov 2011 22:21:18 +0000 (14:21 -0800)
servers/slapd/back-bdb/tools.c

index ec8117644e9722a5210e649aac33563d156d09c2..fee097e01f2ad8ac641599d34bc9243c8cdbb019 100644 (file)
@@ -198,12 +198,12 @@ int bdb_tool_entry_close(
                        }
                        ldap_pvt_thread_mutex_unlock( &bdb_tool_index_mutex );
 
-                       bdb_tool_info = NULL;
-                       slapd_shutdown = 0;
                        ch_free( bdb_tool_index_threads );
                        ch_free( bdb_tool_index_rec );
                        bdb_tool_index_tcount = bdb_tool_threads - 1;
                }
+               bdb_tool_info = NULL;
+               slapd_shutdown = 0;
        }
 
        if( eh.bv.bv_val ) {