From: Pierangelo Masarati Date: Fri, 7 Feb 2003 09:58:21 +0000 (+0000) Subject: I suggest the coder(s) of the cyrus stuff to check out the prompt stuff X-Git-Tag: NO_SLAP_OP_BLOCKS~422 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1b13edfa54ee625d126bb523d52aba180b87c645;p=openldap I suggest the coder(s) of the cyrus stuff to check out the prompt stuff --- diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index 08176f01ed..3032f8c8dc 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -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;