mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 11:09:34 -05:00
ITS#8755 Do not close the default SockBuf a second time
This commit is contained in:
parent
75e0eba1f7
commit
60754d77c8
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