diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-10-16 20:38:57 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-10-16 20:38:57 +0000 |
commit | a42adce3628c9b82c91ff21e85c6a2d4fbcefc13 (patch) | |
tree | b7f04f7a405e5638f21ad1fd86d77e216e517d75 /src/or/dns.c | |
parent | b0afd91afec362e3edc58d1928d2a63bcb3097e8 (diff) | |
download | tor-a42adce3628c9b82c91ff21e85c6a2d4fbcefc13.tar tor-a42adce3628c9b82c91ff21e85c6a2d4fbcefc13.tar.gz |
fix memory leak in router.c; start relying on NULL==(zero bytes)
svn:r2538
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index c4d4a363a..56f737898 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -243,7 +243,6 @@ int dns_resolve(connection_t *exitconn) { /* add us to the pending list */ pending_connection = tor_malloc_zero(sizeof(struct pending_connection_t)); pending_connection->conn = exitconn; - pending_connection->next = NULL; resolve->pending_connections = pending_connection; exitconn->state = EXIT_CONN_STATE_RESOLVING; |