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

fix e_private value, goes along with memory leak fix to accesslog.c

parent b898d356
No related branches found
No related tags found
No related merge requests found
......@@ -707,6 +707,7 @@ again: ldap_pvt_thread_rdwr_rlock( &bdb->bi_cache.c_rwlock );
&ep->e_nname, eip );
if ( *eip ) islocked = 1;
if ( rc ) {
ep->e_private = NULL;
#ifdef SLAP_ZONE_ALLOC
bdb_entry_return( bdb, ep, (*eip)->bei_zseq );
#else
......@@ -811,6 +812,7 @@ load1:
bdb_cache_entryinfo_unlock( *eip );
}
if ( ep ) {
ep->e_private = NULL;
#ifdef SLAP_ZONE_ALLOC
bdb_entry_return( bdb, ep, (*eip)->bei_zseq );
#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