aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index d47f0c762..edcc0a8dc 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -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);
}