aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop/connection.c
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2020-11-12 11:19:21 -0800
committerNeel Chauhan <neel@neelc.org>2020-11-12 11:19:21 -0800
commitd1494d140cbb3f8b8734e3973378e99128b308c9 (patch)
tree271a8fb33036dec6f0893397368a18b8e38f2c33 /src/core/mainloop/connection.c
parent46ccde66a97d7985388eb54bc74a025402fb0a19 (diff)
downloadtor-d1494d140cbb3f8b8734e3973378e99128b308c9.tar.gz
tor-d1494d140cbb3f8b8734e3973378e99128b308c9.zip
Remove orconn_ext_or_id_map and related functions
Diffstat (limited to 'src/core/mainloop/connection.c')
-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 3d551c4ba8..4c226abc4b 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);
@@ -5824,7 +5823,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);