From: Pierangelo Masarati Date: Sat, 8 Apr 2006 17:43:53 +0000 (+0000) Subject: Berlement already freed in ber_flush X-Git-Tag: OPENLDAP_REL_ENG_2_4_0ALPHA~10^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=623a7a9fe2619abf658fec3d5f690a5ba240e4f3;p=openldap Berlement already freed in ber_flush --- diff --git a/libraries/libldap/unbind.c b/libraries/libldap/unbind.c index 52d535f85c..38a8e67a8a 100644 --- a/libraries/libldap/unbind.c +++ b/libraries/libldap/unbind.c @@ -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 );