From 1b13edfa54ee625d126bb523d52aba180b87c645 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 7 Feb 2003 09:58:21 +0000 Subject: [PATCH] I suggest the coder(s) of the cyrus stuff to check out the prompt stuff --- libraries/libldap/cyrus.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.39.5