mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
stop the infinite loop of freeing the same connection_t over and
over when it's not linked into the connection_array svn:r3474
This commit is contained in:
parent
c53c7a0b4c
commit
75b45bcd4d
@ -189,8 +189,8 @@ static void connection_unlink(connection_t *conn, int remove) {
|
||||
connection_about_to_close_connection(conn);
|
||||
if (remove) {
|
||||
connection_remove(conn);
|
||||
smartlist_remove(closeable_connection_lst, conn);
|
||||
}
|
||||
smartlist_remove(closeable_connection_lst, conn);
|
||||
if (conn->type == CONN_TYPE_EXIT) {
|
||||
assert_connection_edge_not_dns_pending(conn);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user