aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-20 17:43:55 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-20 17:43:55 +0000
commit5364833be0f5c7fd3619ab140830194b1f7844a9 (patch)
tree3d6c2980943852c319bed6d3863e5844e00fcbbe /src/or/dns.c
parentbc26f28865da1e95fa89a2d26314ae0fd1ef27e3 (diff)
downloadtor-5364833be0f5c7fd3619ab140830194b1f7844a9.tar.gz
tor-5364833be0f5c7fd3619ab140830194b1f7844a9.zip
r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400
Address points in r10227. svn:r10229
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 7bd8c7a884..7cf6f9fad4 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -562,6 +562,9 @@ dns_resolve(edge_connection_t *exitconn)
if (!exitconn->_base.marked_for_close) {
connection_free(TO_CONN(exitconn));
//XXX020 ... and we just leak exitconn otherwise? -RD
+ // If it's marked for close, it's on closeable_connection_lst in
+ // main.c. If it's on the closeable list, it will get freed from
+ // main.c. -NM
}
break;
default: