mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
s4:ldap_server: make sure we shutdown the tls socket before stream_terminate_connection() removes the fd event
This fixes a crash bug where tls_destructor() relies on the fd event still being there. metze
This commit is contained in:
parent
e2ed5029e9
commit
f224089138
@ -51,6 +51,7 @@ void ldapsrv_terminate_connection(struct ldapsrv_connection *conn,
|
||||
{
|
||||
packet_recv_disable(conn->packet);
|
||||
TALLOC_FREE(conn->packet);
|
||||
TALLOC_FREE(conn->sockets.tls);
|
||||
stream_terminate_connection(conn->connection, reason);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user