]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Release memory from conn_circid_circuit_map on exit.
authorNick Mathewson <nickm@torproject.org>
Thu, 8 Dec 2005 19:46:22 +0000 (19:46 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 8 Dec 2005 19:46:22 +0000 (19:46 +0000)
svn:r5535

src/or/circuitlist.c

index 6ab5a10a5273ab528102d31feb2f8cdda72e2638..64b470e5961b0e5b5536c50085313e93f99d08b3 100644 (file)
@@ -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>. */