From 623a7a9fe2619abf658fec3d5f690a5ba240e4f3 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 8 Apr 2006 17:43:53 +0000 Subject: [PATCH] Berlement already freed in ber_flush --- libraries/libldap/unbind.c | 1 - 1 file changed, 1 deletion(-) 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 ); -- 2.39.5