Fixed slapd normalization of updated schema attributes (ITS#5540)
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)
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)
{
/* Enter with ei locked */
+ /* already freed? */
+ if ( !ei->bei_parent ) return;
+
if ( ei->bei_e ) {
ei->bei_e->e_private = NULL;
#ifdef SLAP_ZONE_ALLOC
int rc = 0; /* return code */
int decr_leaf = 0;
+ /* already freed? */
+ if ( !e->bei_parent )
+ return -1;
+
/* Lock the parent's kids tree */
bdb_cache_entryinfo_lock( e->bei_parent );