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

ITS#6088

parent 4dc23b01
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ OpenLDAP 2.4.17 Engineering
Fixed slapd pagedresults stacked control with overlays (ITS#6056)
Fixed slapd sockets usage on windows (ITS#6039)
Fixed slapd-bdb freeing of already freed entries (ITS#6074)
Fixed slapd-bdb entryinfo cleanup (ITS#6088)
Added slapo-rwm rwm-drop-unrequested-attrs config option (ITS#6057)
Fixed slapo-rwm dn passing (ITS#6070)
Fixed slapo-rwm entry free (ITS#6058)
......
......@@ -64,6 +64,7 @@ bdb_cache_entryinfo_new( Cache *cache )
ei = cache->c_eifree;
cache->c_eifree = ei->bei_lrunext;
ei->bei_finders = 0;
ei->bei_lrunext = NULL;
}
ldap_pvt_thread_mutex_unlock( &cache->c_eifree_mutex );
}
......@@ -81,10 +82,10 @@ static void
bdb_cache_entryinfo_free( Cache *cache, EntryInfo *ei )
{
free( ei->bei_nrdn.bv_val );
ei->bei_nrdn.bv_val = NULL;
BER_BVZERO( &ei->bei_nrdn );
#ifdef BDB_HIER
free( ei->bei_rdn.bv_val );
ei->bei_rdn.bv_val = NULL;
BER_BVZERO( &ei->bei_rdn );
ei->bei_modrdns = 0;
ei->bei_ckids = 0;
ei->bei_dkids = 0;
......@@ -1358,8 +1359,8 @@ bdb_cache_delete_cleanup(
ei->bei_e = NULL;
}
bdb_cache_entryinfo_free( cache, ei );
bdb_cache_entryinfo_unlock( ei );
bdb_cache_entryinfo_free( cache, ei );
}
static int
......
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