From: Howard Chu Date: Thu, 17 Nov 2011 22:21:18 +0000 (-0800) Subject: More cleanup for previous slapadd tweaks X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8a6402436e8b5737521cdac37e1c526deae2a9dc;p=openldap More cleanup for previous slapadd tweaks --- diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index ec8117644e..fee097e01f 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -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 ) {