summaryrefslogtreecommitdiff
path: root/src/core/mainloop
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2020-12-18 14:19:24 +0000
committerAlexander Færøy <ahf@torproject.org>2020-12-18 14:19:24 +0000
commitb645fbdb54c300dae21882c99959eddbc0be6ce1 (patch)
treed7f2aae4030ab2139b8fbf1a66f92f0ad137a40a /src/core/mainloop
parent5527aef56f0d9a443d94f51d2a7f50ddc50c61cc (diff)
parentd1494d140cbb3f8b8734e3973378e99128b308c9 (diff)
downloadtor-b645fbdb54c300dae21882c99959eddbc0be6ce1.tar.gz
tor-b645fbdb54c300dae21882c99959eddbc0be6ce1.zip
Merge remote-tracking branch 'tor-gitlab/mr/207'
Diffstat (limited to 'src/core/mainloop')
-rw-r--r--src/core/mainloop/connection.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c
index 41d67183aa..c0c56a8b77 100644
--- a/src/core/mainloop/connection.c
+++ b/src/core/mainloop/connection.c
@@ -948,7 +948,6 @@ connection_free_minimal(connection_t *conn)
connection_or_clear_identity(TO_OR_CONN(conn));
}
if (conn->type == CONN_TYPE_OR || conn->type == CONN_TYPE_EXT_OR) {
- connection_or_remove_from_ext_or_id_map(TO_OR_CONN(conn));
tor_free(TO_OR_CONN(conn)->ext_or_conn_id);
tor_free(TO_OR_CONN(conn)->ext_or_auth_correct_client_hash);
tor_free(TO_OR_CONN(conn)->ext_or_transport);
@@ -5817,7 +5816,6 @@ connection_free_all(void)
/* Unlink everything from the identity map. */
connection_or_clear_identity_map();
- connection_or_clear_ext_or_id_map();
/* Clear out our list of broken connections */
clear_broken_connection_map(0);