From: Nick Mathewson Date: Tue, 29 Mar 2016 00:09:09 +0000 (-0400) Subject: Fix my dumb unreleased bug in 18673 X-Git-Tag: tor-0.2.8.3-alpha~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba87f5bb25cd001ab8560f23a88e60a504c7059a;p=thirdparty%2Ftor.git Fix my dumb unreleased bug in 18673 --- 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));