]> git.sur5r.net Git - openldap/commitdiff
I suggest the coder(s) of the cyrus stuff to check out the prompt stuff
authorPierangelo Masarati <ando@openldap.org>
Fri, 7 Feb 2003 09:58:21 +0000 (09:58 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 7 Feb 2003 09:58:21 +0000 (09:58 +0000)
libraries/libldap/cyrus.c

index 08176f01ed942d86f7549e0f3b3ee350602c4864..3032f8c8dc70a7a36f3294ea63ff320b5a34f0c0 100644 (file)
@@ -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;