]> git.sur5r.net Git - openldap/commitdiff
Berlement already freed in ber_flush
authorPierangelo Masarati <ando@openldap.org>
Sat, 8 Apr 2006 17:43:53 +0000 (17:43 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 8 Apr 2006 17:43:53 +0000 (17:43 +0000)
libraries/libldap/unbind.c

index 52d535f85cb0d3a91a4273708a5d09c39cc7a8f0..38a8e67a8af1cb41eb1a8207d9e173bcdf4c3704 100644 (file)
@@ -263,7 +263,6 @@ ldap_send_unbind(
        /* send the message */
        if ( ber_flush( sb, ber, 1 ) == -1 ) {
                ld->ld_errno = LDAP_SERVER_DOWN;
-               ber_free( ber, 1 );
        }
 
        return( ld->ld_errno );