Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
ca9bb440
Commit
ca9bb440
authored
Apr 16, 2003
by
Howard Chu
Browse files
Free IDL_CACHE locks
parent
b4dfd0c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/init.c
View file @
ca9bb440
...
...
@@ -528,6 +528,12 @@ bdb_db_destroy( BackendDB *be )
ldap_pvt_thread_rdwr_destroy
(
&
bdb
->
bi_cache
.
c_rwlock
);
ldap_pvt_thread_mutex_destroy
(
&
bdb
->
bi_cache
.
lru_mutex
);
ldap_pvt_thread_mutex_destroy
(
&
bdb
->
bi_lastid_mutex
);
#ifdef SLAP_IDL_CACHE
if
(
bdb
->
bi_idl_cache_max_size
)
{
ldap_pvt_thread_rdwr_destroy
(
&
bdb
->
bi_idl_tree_rwlock
);
ldap_pvt_thread_mutex_destroy
(
&
bdb
->
bi_idl_tree_lrulock
);
}
#endif
ch_free
(
bdb
);
be
->
be_private
=
NULL
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment