diff options
-rw-r--r-- | src/or/circuitlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index e87931f52..c050156c8 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -372,6 +372,7 @@ int _circuit_mark_for_close(circuit_t *circ) { while(circ->resolving_streams) { conn = circ->resolving_streams; circ->resolving_streams = conn->next_stream; + connection_dns_remove(conn); /* remove it from resolve lists */ log_fn(LOG_INFO,"Freeing resolving-conn."); connection_free(conn); } |