Commit bd0370b2 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix tpool key reset (ITS#4855)

parent 20bcf7fa
......@@ -5,6 +5,7 @@ OpenLDAP 2.3.35 Engineering
Fixed slapd-bdb/hdb startup with missing shm env (ITS#4851)
Fixed slapd-meta/slapo-rwm filter mapping
Fixed slapo-refint config message (ITS#4853)
Fixed libldap_r tpool reset (ITS#4855)
OpenLDAP 2.3.34 Release (2007/02/16)
Fixed libldap missing get_option(TLS CipherSuite) (ITS#4815)
......
......@@ -664,7 +664,7 @@ void ldap_pvt_thread_pool_context_reset( void *vctx )
int i;
for ( i=MAXKEYS-1; i>=0; i--) {
if ( ctx[i].ltk_key )
if ( ctx[i].ltk_key == NULL )
continue;
if ( ctx[i].ltk_free )
ctx[i].ltk_free( ctx[i].ltk_key, ctx[i].ltk_data );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment