From: Kurt Zeilenga Date: Fri, 21 Feb 2003 18:41:05 +0000 (+0000) Subject: Forgot to remove one prompts free X-Git-Tag: NO_SLAP_OP_BLOCKS~326 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ed91ab4cbeb49ffa1fdb985297d8c7584190bbcd;p=openldap Forgot to remove one prompts free --- diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index 922f22c185..d12c899721 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -686,14 +686,6 @@ ldap_int_sasl_bind( saslrc, 0, 0 ); #endif -#if SASL_VERSION_MAJOR >= 2 - /* XXX the application should free interact results. */ - if ( prompts != NULL && prompts->result != NULL ) { - LDAP_FREE( (void *)prompts->result ); - prompts->result = NULL; - } -#endif - if( saslrc == SASL_INTERACT ) { int res; if( !interact ) break;