mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix my dumb unreleased bug in 18673
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user