diff options
author | Roger Dingledine <arma@torproject.org> | 2007-05-20 14:15:23 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-05-20 14:15:23 +0000 |
commit | ddd0054a8504f274e3cf16d6728b8b052e0c8a49 (patch) | |
tree | 10316521a4602884e10f3c176b77cc328362da0a /src/or/dns.c | |
parent | 0b661f65759408af19fbd30587deffc0bc3163d8 (diff) | |
download | tor-ddd0054a8504f274e3cf16d6728b8b052e0c8a49.tar.gz tor-ddd0054a8504f274e3cf16d6728b8b052e0c8a49.zip |
point out two remote crash bugs, a memory leak, and a few other
items we should probably look into.
svn:r10227
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 665e0820b7..7bd8c7a884 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -559,8 +559,10 @@ dns_resolve(edge_connection_t *exitconn) } //circuit_detach_stream(TO_CIRCUIT(oncirc), exitconn); exitconn->on_circuit = NULL; - if (!exitconn->_base.marked_for_close) + if (!exitconn->_base.marked_for_close) { connection_free(TO_CONN(exitconn)); + //XXX020 ... and we just leak exitconn otherwise? -RD + } break; default: tor_assert(0); |