mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-20 00:10:59 -05:00
ITS#10101 libldap: fix double sb_close when first TLS connection fails
This commit is contained in:
parent
5d7a9205e8
commit
0ae183e73b
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