Skip to content
Snippets Groups Projects
Commit 95c03b29 authored by cypherpunks's avatar cypherpunks Committed by Nick Mathewson
Browse files

Fix memory leak by circuit marked for close list

This commit fixes a memory leak introduced by commit
8b4e5b7e.
parent 13216087
No related branches found
No related tags found
No related merge requests found
......@@ -911,6 +911,9 @@ circuit_free_all(void)
smartlist_free(circuits_pending_chans);
circuits_pending_chans = NULL;
smartlist_free(circuits_pending_close);
circuits_pending_close = NULL;
{
chan_circid_circuit_map_t **elt, **next, *c;
for (elt = HT_START(chan_circid_map, &chan_circid_map);
......
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