]> git.sur5r.net Git - openldap/commitdiff
Forgot to remove one prompts free
authorKurt Zeilenga <kurt@openldap.org>
Fri, 21 Feb 2003 18:41:05 +0000 (18:41 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 21 Feb 2003 18:41:05 +0000 (18:41 +0000)
libraries/libldap/cyrus.c

index 922f22c185211713fc8aa059071b170ea4a48628..d12c899721d40b87777c9e39e31e4f518aadbec7 100644 (file)
@@ -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;