mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-19 02:28:47 -05:00
ITS#8755 Do not close the default SockBuf a second time
This commit is contained in:
parent
c8c4a842a1
commit
8cb7f2f818
1 changed files with 3 additions and 1 deletions
|
|
@ -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 a new issue