Skip to content
Snippets Groups Projects
Commit 88590f7d authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5322

parent e23a38ec
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ OpenLDAP 2.4.8 Engineering
Fixed slapd NULL printf (ITS#5264)
Fixed slapd NULL set values (ITS#5286)
Fixed slapd segv with SASL/OTP (ITS#5259)
Fixed slapd-bdb segv with bdb4.6 (ITS#5322)
Added slapd-bdb/slapd-hdb DB encryption (ITS#5359)
Fixed slapd-ldif delete (ITS#5265)
Fixed slapd-monitor crash (ITS#5311)
......
......@@ -600,7 +600,7 @@ bdb_db_close( BackendDB *be, ConfigReply *cr )
/* close db environment */
if( bdb->bi_dbenv ) {
/* Free cache locker if we enabled locking */
if ( !( slapMode & SLAP_TOOL_QUICK )) {
if ( !( slapMode & SLAP_TOOL_QUICK ) && bdb->bi_cache.c_locker ) {
#if DB_VERSION_FULL >= 0x04060012
XLOCK_ID_FREE(bdb->bi_dbenv, bdb->bi_cache.c_locker->id);
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment