mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#9081 Do not leak sb (ITS#8755 regression)
This commit is contained in:
parent
81025cc8bf
commit
639e5f15fd
1 changed files with 1 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ ldap_ld_free(
|
||||||
/* Should already be closed by ldap_free_connection which knows not to free
|
/* Should already be closed by ldap_free_connection which knows not to free
|
||||||
* this one */
|
* this one */
|
||||||
ber_int_sb_destroy( ld->ld_sb );
|
ber_int_sb_destroy( ld->ld_sb );
|
||||||
|
LBER_FREE( ld->ld_sb );
|
||||||
|
|
||||||
LDAP_MUTEX_LOCK( &ld->ld_ldopts_mutex );
|
LDAP_MUTEX_LOCK( &ld->ld_ldopts_mutex );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue