mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
I suggest the coder(s) of the cyrus stuff to check out the prompt stuff
This commit is contained in:
parent
6c32533d02
commit
1b13edfa54
@ -605,7 +605,10 @@ ldap_int_sasl_bind(
|
||||
#if SASL_VERSION_MAJOR >= 2
|
||||
/* XXX the application should free interact results.
|
||||
* FIXME: this should happen only
|
||||
* if saslrc == SASL_INTERACT */
|
||||
* if saslrc == SASL_INTERACT
|
||||
*
|
||||
* I assume that prompts->result is not needed
|
||||
* by the subsequent call to (interact)() */
|
||||
if ( prompts != NULL && prompts->result != NULL ) {
|
||||
LDAP_FREE( (void *)prompts->result );
|
||||
prompts->result = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user