(void) pthread_detach( *thread );
}
#endif
+ pthread_attr_destroy(&attr);
#else
rtn = pthread_create( thread, LDAP_INT_THREAD_ATTR_DEFAULT,
val.bv_len = strlen( val.bv_val );
attr_merge( e, ad_supportedSASLMechanisms, vals );
}
+ charray_free( supportedSASLMechanisms );
}
if ( default_referral != NULL ) {
NULL, errstr, NULL, NULL );
}
+ if( response.bv_len ) {
+ ch_free( response.bv_val );
+ }
+
#ifdef NEW_LOGGING
LDAP_LOG(( "sasl", LDAP_LEVEL_ENTRY,
"slap_sasl_bind: rc=%d\n", rc ));
}
if( nkeys == 0 ) {
+ ch_free( sa->sa_final );
+ ber_bvecfree( sa->sa_any );
+ ch_free( sa->sa_initial );
+ ch_free( sa );
*keysp = NULL;
return LDAP_SUCCESS;
}