diff options
author | Roger Dingledine <arma@torproject.org> | 2005-01-31 00:26:09 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-01-31 00:26:09 +0000 |
commit | 75b45bcd4d314fed0a4e047e146671bd33e20c85 (patch) | |
tree | 7631b8f8c1e3a3296aab4511bccd724917669997 /src | |
parent | c53c7a0b4c2362e3985290c57a6ca756b84c7f59 (diff) | |
download | tor-75b45bcd4d314fed0a4e047e146671bd33e20c85.tar tor-75b45bcd4d314fed0a4e047e146671bd33e20c85.tar.gz |
stop the infinite loop of freeing the same connection_t over and
over when it's not linked into the connection_array
svn:r3474
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 2 |
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); } |