mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#10101 libldap: fix double sb_close when first TLS connection fails
This commit is contained in:
parent
a7bd0416c8
commit
b7a22d380e
1 changed files with 1 additions and 0 deletions
|
|
@ -543,6 +543,7 @@ ldap_int_open_connection(
|
|||
LDAP_MUTEX_UNLOCK( &lo->ldo_mutex );
|
||||
}
|
||||
ber_int_sb_close( conn->lconn_sb );
|
||||
ber_int_sb_destroy( conn->lconn_sb );
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue