Browse Source

Release memory from conn_circid_circuit_map on exit.

svn:r5535
Nick Mathewson 20 years ago
parent
commit
2d585941b8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/circuitlist.c

+ 1 - 0
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>. */