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;