mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 10:07:56 -05:00
Merge branch 'its10451' into 'master'
ITS#10451 Unregister event before we close socket See merge request openldap/openldap!831
This commit is contained in:
commit
985b2dd8d4
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ done:
|
|||
|
||||
LDAP_LIST_REMOVE( conn, next );
|
||||
if ( rc ) {
|
||||
event_del( conn->event );
|
||||
evutil_closesocket( conn->fd );
|
||||
b->b_opening--;
|
||||
b->b_failed++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue