mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#8755 Do not close the default SockBuf a second time
This commit is contained in:
parent
75e0eba1f7
commit
60754d77c8
@ -131,7 +131,9 @@ ldap_ld_free(
|
||||
}
|
||||
LDAP_MUTEX_UNLOCK( &ld->ld_res_mutex );
|
||||
|
||||
ber_sockbuf_free( ld->ld_sb );
|
||||
/* Should already be closed by ldap_free_connection which knows not to free
|
||||
* this one */
|
||||
ber_int_sb_destroy( ld->ld_sb );
|
||||
|
||||
LDAP_MUTEX_LOCK( &ld->ld_ldopts_mutex );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user