diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-03-28 20:09:09 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-03-28 20:09:09 -0400 |
commit | ba87f5bb25cd001ab8560f23a88e60a504c7059a (patch) | |
tree | 9eba02a05ac0c8f619d1f2cd5a41a40bbc11e136 | |
parent | f780d196a91b8c9c5c2581d37326599b4e97b945 (diff) | |
download | tor-ba87f5bb25cd001ab8560f23a88e60a504c7059a.tar.gz tor-ba87f5bb25cd001ab8560f23a88e60a504c7059a.zip |
Fix my dumb unreleased bug in 18673
-rw-r--r-- | src/or/circuitlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 670c5b3c19..1efb7ef4d0 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -760,7 +760,7 @@ or_circuit_new(circid_t p_circ_id, channel_t *p_chan) void circuit_clear_testing_cell_stats(circuit_t *circ) { - if (!circ) + if (!circ || !circ->testing_cell_stats) return; SMARTLIST_FOREACH(circ->testing_cell_stats, testing_cell_stats_entry_t *, ent, tor_free(ent)); |