diff options
author | cypherpunks <cypherpunks@torproject.org> | 2015-12-01 13:34:31 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-08 08:52:10 -0500 |
commit | 95c03b29de3f6e8c67c7638a9de16ddaa4731948 (patch) | |
tree | 900d1c7d90974388fb5ef6d4aac96731574ef2c0 /src/or | |
parent | 1321608786c452ab9f0bf19f37509938f7755117 (diff) | |
download | tor-95c03b29de3f6e8c67c7638a9de16ddaa4731948.tar.gz tor-95c03b29de3f6e8c67c7638a9de16ddaa4731948.zip |
Fix memory leak by circuit marked for close list
This commit fixes a memory leak introduced by commit
8b4e5b7ee902fb7fa07767410a18433d752c7aef.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/circuitlist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index c4992d47ff..15b8748158 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -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); |