summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-08 19:46:22 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-08 19:46:22 +0000
commit2d585941b8f95b301803ef57da6d1da9671365c4 (patch)
treebe377affdc9de9c02612d12f21cb034cdd8982e2
parent1b770817c0216f4e2b4ae6f0fb76bf12529824c3 (diff)
downloadtor-2d585941b8f95b301803ef57da6d1da9671365c4.tar.gz
tor-2d585941b8f95b301803ef57da6d1da9671365c4.zip
Release memory from conn_circid_circuit_map on exit.
svn:r5535
-rw-r--r--src/or/circuitlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 6ab5a10a52..64b470e596 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -328,6 +328,7 @@ circuit_free_all(void)
}
smartlist_free(circuits_pending_or_conns);
circuits_pending_or_conns = NULL;
+ HT_CLEAR(orconn_circid_map, &orconn_circid_circuit_map);
}
/** Deallocate space associated with the cpath node <b>victim</b>. */