[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] stop the infinite loop of freeing the same connection_t ove...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] stop the infinite loop of freeing the same connection_t ove...
- From: arma@xxxxxxxx (Roger Dingledine)
- Date: Sun, 30 Jan 2005 19:26:11 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sun, 30 Jan 2005 19:26:30 -0500
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
main.c
Log Message:
stop the infinite loop of freeing the same connection_t over and
over when it's not linked into the connection_array
Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.433
retrieving revision 1.434
diff -u -d -r1.433 -r1.434
--- main.c 30 Jan 2005 21:47:47 -0000 1.433
+++ main.c 31 Jan 2005 00:26:09 -0000 1.434
@@ -189,8 +189,8 @@
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);
}