ITS#10101 libldap: fix double sb_close when first TLS connection fails

This commit is contained in:
Florin Crișan 2023-09-20 16:06:09 +03:00 committed by Howard Chu
parent a7bd0416c8
commit b7a22d380e

View file

@ -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;
}
}