Skip to content
Snippets Groups Projects
Commit fbbb4d01 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

bugfix: while closing a circuit, we were freeing the conns that were

pending resolve, but not removing them from the pending resolve list


svn:r1933
parent d9ff9178
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment